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

2021-09-13 04:05:30 字數 1070 閱讀 9086

**:

第一步:新建乙個txt檔案,命名為opencmdhere.txt

第二步:在檔案中輸入如下**,並儲存

windows registry editor version 5.00

[hkey_classes_root\directory\shell\opencmdhere]

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

"icon"="cmd.exe"

[hkey_classes_root\directory\shell\opencmdhere\command]

@="cmd.exe /s /k pushd "%v""

[hkey_classes_root\directory\background\shell\opencmdhere]

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

"icon"="cmd.exe"

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

@="cmd.exe /s /k pushd \"%v\""

[hkey_classes_root\drive\shell\opencmdhere]

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

"icon"="cmd.exe"

[hkey_classes_root\drive\shell\opencmdhere\command]

@="cmd.exe /s /k pushd \"%v\""

[hkey_classes_root\libraryfolder\background\shell\opencmdhere]

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

"icon"="cmd.exe"

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

@="cmd.exe /s /k pushd \"%v\""

第三步:更改檔案字尾名為reg,彈出的提示點確認。

第四步:雙擊opencmdhere.reg檔案執行,彈出的提示點確認,修改登錄檔就大功告成了!

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

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

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

第1步 新建乙個txt檔案,命名為opencmdhere.txt 注意該檔案的格式一定要是ansi的編碼方式 第2步 在檔案中輸入如下 並儲存 windows registry editor version 5.00 hkey classes root directory shell opencmd...

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

今天跑 時用到了powershell,有乙個環境變數死活都找不到,無奈只好重新回到cmd命令列測試,結果立馬就跑通了。由於現在win10預設右鍵只有powershell,所以為了以後方便使用就把右鍵新增 在此處開啟命令視窗 的 分享出來。第乙個是在 桌面 資料夾視窗中 選中資料夾上 直接點選右鍵,顯...