windows新增右鍵選單 此處執行CMD

2022-03-01 19:37:20 字數 553 閱讀 9163

步驟:

1、建立乙個記事本檔案,將以下文字複製進去,然後儲存。

windows registry editor version 5.00

[hkey_classes_root*\shell\cmdhere]

@="cmd&here"

[hkey_classes_root*\shell\cmdhere\command]

@="cmd.exe /c start cmd.exe /k pushd "%l \.." "

[hkey_classes_root\folder\shell\cmdhere]

@="cmd&here"

[hkey_classes_root\folder\shell\cmdhere\command]

@="cmd.exe /c start cmd.exe /k pushd "%l" "

2、將記事本的檔案的字尾 txt 改成 reg。

3、雙擊執行這個檔案,提示新增登錄檔項,選擇「是」。

4、然後在隨便找個檔案,點選右鍵,可以看見多了乙個「cmdhere」的選單,點進去就是命令列了。

Windows為VSCode新增右鍵選單

在本地建立乙個.reg字尾的檔案,檔名test 可自定義 建立好檔案後將其拖到任意一款編輯器當中,新增其內容 windows registry editor version 5.00 hkey classes root directory background shell vscode open v...

Windows 右鍵選單新增選項

新建 add.reg 輸入選項名和選項對應程式路徑 windows registry editor version 5.00 hkey classes root shell 選項名 hkey classes root shell 選項名 command 選項對應程式路徑 1 以管理員身份執行 add...

新增右鍵選單

在右鍵選單中新增 壓縮 和 解壓 選單,壓縮和解壓時自動加密。0 準備工作 1 建立.reg檔案 分別建立壓縮和解壓選單登錄檔檔案 compression.reg decompression.reg compression.reg windows registry editor version 5....