新建dos_here.reg文件(编码格式ANSI),将以下内容复制进去,双击运行
文本文档设置编码格式:打开文件,另存为,选择编码格式。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/Directory/shell/OpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT/Directory/shell/OpenCmdHere/command]
@="cmd.exe /s /k pushd /"%V/""
[HKEY_CLASSES_ROOT/Directory/Background/shell/OpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT/Directory/Background/shell/OpenCmdHere/command]
@="cmd.exe /s /k pushd /"%V/""
[HKEY_CLASSES_ROOT/Drive/shell/OpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT/Drive/shell/OpenCmdHere/command]
@="cmd.exe /s /k pushd /"%V/""
[HKEY_CLASSES_ROOT/LibraryFolder/background/shell/OpenCmdHere]
@="在此处打开命令窗口"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT/LibraryFolder/background/shell/OpenCmdHere/command]
@="cmd.exe /s /k pushd /"%V/""
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/273645.html