2021-05-12 14:32:11
Win10如何在右鍵選單新增「在此處開啟命令視窗」設定項?
2020-07-23 10:28:40
Win10如何在右鍵選單中新增“在此處開啟命令視窗”設定項?在Win10創意者更新中,命令提示字元已被Powershell取代,然而很多用戶並不適應,如果大家還是想繼續使用命令提示字元,那麼可以在桌面右鍵選單中新增“在此處開啟命令視窗”設定項,那麼該如何操作呢?具體步驟請看下文。
Win10如何在右鍵選單中新增“在此處開啟命令視窗”設定項?
1、在設定前,系統右鍵選單如下圖所示,並沒有“在此處開啟命令視窗”;
2、開啟記事本,將如下內容複製到記事本中;
- 01Windows Registry Editor Version 5.00
- 02[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
- 03@="在此處開啟命令提示字元"
- 04"Icon"="cmd.exe"
- 05[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
- 06@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
- 07[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
- 08@="在此處開啟命令視窗"
- 09"Icon"="cmd.exe"
- 10[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
- 11@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
- 12[HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
- 13@="在此處開啟命令視窗"
- 14"Icon"="cmd.exe"
- 15[HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
- 16@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
- 17[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenCmdHere]
- 18@="在此處開啟命令視窗"
- 19"Icon"="cmd.exe"
- 20[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenCmdHerecommand]
- 21@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
@="在此處開啟命令提示字元"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
@="在此處開啟命令視窗"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
[HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
@="在此處開啟命令視窗"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenCmdHere]
@="在此處開啟命令視窗"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenCmdHerecommand]
@="PowerShell -windowstyle hidden -Command "Start-Process cmd.exe -ArgumentList '/s,/k, pushd,%V' -Verb RunAs""
相關文章