Win10 Shift+右键添加在此处打开命令窗口

cmd.reg

Windows Registry Editor Version 5.00

;在文件夹内空白处右键
[HKEY_CLASSES_ROOTDirectoryBackgroundshellCmdHere]
@="@shell32.dll,-8506"
"ico"="C:\Windows\System32\shell32.dll,24"
"Extended"=""
[HKEY_CLASSES_ROOTDirectoryBackgroundshellCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

;在文件夹名称上右键
[HKEY_CLASSES_ROOTDirectoryshellCmdHere]
@="@shell32.dll,-8506"
"ico"="C:\Windows\System32\shell32.dll,24"
"Extended"=""
[HKEY_CLASSES_ROOTDirectoryshellCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

运行以上cmd.reg即可

原文地址:https://www.cnblogs.com/kingBook/p/14004587.html