資料夾選項 -> 檔案型別 -> 資料夾 -> 高階
-> 新建 ->
操作 -> run cmd
用於執行命令的應用程式 -> c:\windows\system32\cmd.exe
對應的登錄檔修改方法:
【hkey_classes_root\folder\shell\】下新建項,命名為【run_cmd】,鍵值改為【run cmd】。在【run_cmd】下新建項,命名為【command】,鍵值為【c:\windows\system32\cmd.exe "%1"】
注:【hkey_local_machine\software\classes\directory\shell\】對應【資料夾選項 -> 檔案型別 -> 資料夾】,要是【資料夾選項】中錯弄成了【資料夾】可以將對應的項刪除即可
windows新增自定義選單到滑鼠右鍵
在使用windows過程中,我們需要經常需要使用特定程式開啟某些檔案,比如使用sublime開啟乙個bat檔案並修改它,但預設sublime可能並不在滑鼠右鍵裡,這時我們可以手動新增到右鍵中。1,執行regedit,開啟登錄檔編輯器,在hkey classses root shell 下,新建項命名...
新增Git Bash Here到右鍵選單
步驟 1 通過在 執行 中輸入 regedit 開啟登錄檔。2 找到 hkey classes root directory background 3 在 background 下如果沒有 shell 則右鍵 新建項 shell 4 在 shell 下右鍵 新建項 open in git 其值為 g...
新增「Git Bash Here」到右鍵選單
之前安裝了git的時候,清晰的記得右鍵選單裡是有 git bash here 這個選項的,非常方面。後來不知道為啥突然沒有了,就像搞回來。開啟登錄檔,定位到hkey classes root directory background shell 如果background下面沒有shell目錄,就自己...