Win10 Shift+右键添加在此处打开命令窗口
cmd.reg
Windows Registry Editor Version 5.00
;在文件夹内空白处右键
[HKEY_CLASSES_ROOT\Directory\Background\shell\CmdHere]
@="@shell32.dll,-8506"
"ico"="C:\\Windows\\System32\\shell32.dll,24"
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\CmdHere\command]
@="cmd.exe /s /k pushd \"%V\""
;在文件夹名称上右键
[HKEY_CLASSES_ROOT\Directory\shell\CmdHere]
@="@shell32.dll,-8506"
"ico"="C:\\Windows\\System32\\shell32.dll,24"
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\shell\CmdHere\command]
@="cmd.exe /s /k pushd \"%V\""
运行以上cmd.reg即可