在右键菜单中添加\"在此处打开CMD窗口\"
- 新建一个文本文件,重命名为openCMD.reg
- 用记事本打开该文件,输入以下内容
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\openCMD] @="在此处打开CMD窗口" "Icon"="cmd.exe" [HKEY_CLASSES_ROOT\*\shell\openCMD\command] @="\"C:\\Windows\\System32\\cmd.exe\"" [HKEY_CLASSES_ROOT\Directory\Background\shell\openCMD] @="在此处打开CMD窗口" "Icon"="cmd.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\openCMD\command] @="\"C:\\Windows\\System32\\cmd.exe\"" [HKEY_CLASSES_ROOT\Directory\shell\openCMD] @="在此处打开CMD窗口" "Icon"="cmd.exe" [HKEY_CLASSES_ROOT\Directory\shell\openCMD\command] @="\"C:\\Windows\\System32\\cmd.exe\"" [HKEY_CLASSES_ROOT\Folder\shell\openCMD] @="在此处打开CMD窗口" "Icon"="cmd.exe" [HKEY_CLASSES_ROOT\Folder\shell\openCMD\command] @="\"C:\\Windows\\System32\\cmd.exe\""
- 保存,注意文件编码应设置为GBK
- 双击该文件,确定合并到注册表,完成~
- 删除这些注册表项时,将该文件中的以下内容进行修改,然后重新合并到注册表即可。
修改前:
[HKEY_CLASSES_ROOT\*\shell\openCMD] [HKEY_CLASSES_ROOT\*\shell\openCMD\command] [HKEY_CLASSES_ROOT\Directory\Background\shell\openCMD] [HKEY_CLASSES_ROOT\Directory\Background\shell\openCMD\command] [HKEY_CLASSES_ROOT\Directory\shell\openCMD] [HKEY_CLASSES_ROOT\Directory\shell\openCMD\command] [HKEY_CLASSES_ROOT\Folder\shell\openCMD] [HKEY_CLASSES_ROOT\Folder\shell\openCMD\command]
修改后:
[-HKEY_CLASSES_ROOT\*\shell\openCMD] [-HKEY_CLASSES_ROOT\*\shell\openCMD\command] [-HKEY_CLASSES_ROOT\Directory\Background\shell\openCMD] [-HKEY_CLASSES_ROOT\Directory\Background\shell\openCMD\command] [-HKEY_CLASSES_ROOT\Directory\shell\openCMD] [-HKEY_CLASSES_ROOT\Directory\shell\openCMD\command] [-HKEY_CLASSES_ROOT\Folder\shell\openCMD] [-HKEY_CLASSES_ROOT\Folder\shell\openCMD\command]
相关推荐
tianhuak 2020-11-24
huha 2020-10-16
lianshaohua 2020-09-23
laisean 2020-11-11
zhangjie 2020-11-11
大牛牛 2020-10-30
firefaith 2020-10-30
liguojia 2020-10-20
wangzhaotongalex 2020-10-20
以梦为马不负韶华 2020-10-20
CARBON 2020-10-20
彼岸随笔 2020-10-20
lianshaohua 2020-10-20
yutou0 2020-10-17
JohnYork 2020-10-16
xiaonamylove 2020-10-16
Julyth 2020-10-16
applecarelte 2020-10-16
ourtimes 2020-10-16