将下面的代码,用记事本打开,另存为cmd.reg文件,双击安装 按住Shift+鼠标右键就可以看到CMD的选项了
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\""
|