win10下右鍵選單新增「開啟cmd」

2022-01-23 05:20:55 字數 1131 閱讀 3796

早期版本的win10是可以在資料夾的左上角開啟cmd的,更新後發現現在只有powershell能用了。這不方便。

通過修改登錄檔,可以實現這個功能。

具體做法:新建乙個.reg檔案win10_add_cmd_mouse_right_click.reg,內容如下:

windows registry editor version 5.00

[hkey_local_machine\software\classes\directory\background\shell\cmd_here]

@="開啟cmd"

"icon"="cmd.exe"

[hkey_local_machine\software\classes\directory\background\shell\cmd_here\command]

@="\"c:\\windows\\system32\\cmd.exe\""

[hkey_local_machine\software\classes\folder\shell\cmdprompt]

@="開啟cmd"

[hkey_local_machine\software\classes\folder\shell\cmdprompt\command]

@="\"c:\\windows\\system32\\cmd.exe\" \"cd %1\""

[hkey_local_machine\software\classes\directory\shell\cmd_here]

@="開啟cmd"

"icon"="cmd.exe"

[hkey_local_machine\software\classes\directory\shell\cmd_here\command]

@="\"c:\\windows\\system32\\cmd.exe\""

用notepad儲存,並且注意儲存為ansi而不是utf-8格式儲存後雙擊執行它,並點選確定(如果有360提示惡意程式修改,需要放行)

win10下右鍵選單新增 「開啟cmd」

最近使用cmd比較多,就想在某個資料夾下右鍵開啟cmd,這樣不用每次都在預設情況下切換目錄。無奈win10 1703版本下shift 右鍵不能開啟cmd,只能開啟powershell。好,那就自己整乙個吧。首先,在桌面新建乙個文字文件。windows registry editor version ...

win10 右鍵選單新增Git Hash Here

1 通過在 執行 中輸入 regedit 開啟登錄檔。2 找到 hkey classes root directory background 3 在 background 下如果沒有 shell 則右鍵 新建項 shell 4 在 shell 下右鍵 新建項 open in git 其值為 git ...

win10新增右鍵sublime開啟方式

開啟登錄檔編輯器,開始 執行 regedit win r,輸入regedit,回車 在hkey classses root shell 下,在shell下,新建項命名為open with sublime text,在該新建項的右邊視窗新建字串值 右鍵 新建 字串值 名稱 icon 值 d progr...