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即可