Win10右擊新增「在此處開啟命令視窗」

2022-06-29 06:06:10 字數 1385 閱讀 5817

桌面新建txt文件,拷貝如下**:

windows registry editor version 5.00

[hkey_classes_root\directory\shell\opencmdhere]

@="在此處開啟命令提示符"

"icon"="cmd.exe"

[hkey_classes_root\directory\shell\opencmdhere\command]

@="powershell -windowstyle hidden -command \"start-process cmd.exe -argumentlist '/s,/k, pushd,%v' -verb runas\""

[hkey_classes_root\directory\background\shell\opencmdhere]

@="在此處開啟命令視窗"

"icon"="cmd.exe"

[hkey_classes_root\directory\background\shell\opencmdhere\command]

@="powershell -windowstyle hidden -command \"start-process cmd.exe -argumentlist '/s,/k, pushd,%v' -verb runas\""

[hkey_classes_root\drive\shell\opencmdhere]

@="在此處開啟命令視窗"

"icon"="cmd.exe"

[hkey_classes_root\drive\shell\opencmdhere\command]

@="powershell -windowstyle hidden -command \"start-process cmd.exe -argumentlist '/s,/k, pushd,%v' -verb runas\""

[hkey_classes_root\libraryfolder\background\shell\opencmdhere]

@="在此處開啟命令視窗"

"icon"="cmd.exe"

[hkey_classes_root\libraryfolder\background\shell\opencmdhere\command]

@="powershell -windowstyle hidden -command \"start-process cmd.exe -argumentlist '/s,/k, pushd,%v' -verb runas\""

然後將此檔案另存為名為「opencmdhere.reg」檔案,注意選擇編碼方式,否則更改登錄檔不會成功。

後雙擊開啟「opencmdhere.reg」檔案,按照提示選擇確認,當出現登錄檔修改成功的提示,即說明修改成功了。

win10右鍵新增在此處開啟命令視窗

1 在桌面新建文字檔案,可以自定義命名。2 開啟檔案複製以下內容。windows registry editor version 5.00 hkey classes root directory shell opencmdhere 在此處開啟命令提示符 icon cmd.exe hkey class...

Windows10右鍵新增「在此處開啟命令視窗」

由於現在win10預設右鍵只有powershell,所以為了以後方便使用就把右鍵新增 在此處開啟命令視窗 的 分享出來。第一步 新建乙個txt檔案,命名為cmdhere.txt 第二步 重點 要用記事本開啟,不要用notepad開啟 輸入如下 windows registry editor vers...

Windows10右鍵新增「在此處開啟命令視窗」

第一步 新建乙個txt檔案,命名為opencmdhere.txt 第二步 在檔案中輸入如下 並儲存 windows registry editor version 5.00 hkey classes root directory shell opencmdhere 在此處開啟命令視窗 icon cm...