win10恢復在此處打開命令行窗口

win+r | 輸入regedit命令打開註冊表。

定位到該路徑:

計算機\HKEY_CLAssEs_RooT\directory\Background\shell\powershell\command

右鍵 | 修改,輸入:

cmd.exe /s /k pushd "%V" 

cmd和powershell的設置值

### cmd用這個
cmd.exe /s /k pushd "%V" 
### powershell用這個
powershell.exe -noexit -command set-Location -literalpath '%V'
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章