第一步:新建一个txt文件,命名为OpenCmdHere.txt
第二步:在文件中输入如下代码,并以设置编码为ANSI保存,不然会有乱码
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""
第三步,把文件后缀名改成reg,双击运行即可