1. 程式人生 > 實用技巧 >替換為PowerShell開啟模式

替換為PowerShell開啟模式

Windows中Shift+右鍵"在此處開啟命令視窗"預設是採用cmd的方式開啟.

wKioL1NyBTqhmwkEAAESTWk61pM716.jpg

把cmd替換為PowerShell的方式開啟.

1. Ctrl + R 輸入regedit進入登錄檔

2. 找到[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]

3. 修改資料為powershell.exe -NoExit Set-Location "%V"

轉載於:https://blog.51cto.com/kevinz0523/1410698