在 PowerShell 和命令提示字元中快速開啟檔案總管並指定當前路徑的 3 種方式

命令提示字元(Command Prompt,cmd.exe) 和 PowerShell 是兩個不同的指令介面工具,接下來會介紹幾個指令,會標記該指令適用的指令介面工具。

start

適用於 PowerShell, 命令提示字元

以當前路徑開啟檔案總管:
    
start .
    

在 命令提示字元 中可以以當前路徑開啟新的指令視窗視窗:
    
start
    

explorer

適用於 PowerShell, 命令提示字元

開啟檔案總管:
    
explorer
    

以當前路徑開啟檔案總管:
    
explorer .
    

註: 完整指令為: explorer.exe

Invoke-Item

適用於 PowerShell

開啟檔案總管:
    
Invoke-Item
    

以當前路徑開啟檔案總管:
    
Invoke-Item .
    

縮寫:
    
ii .
    

註: 無法直接使用 ii

留言