WIN10右键菜单添加“在此处打开CMD窗口”

Win10 右键添加 “在此处打开CMD”

桌面创建一个TXT文本,复制以下代码并保存。然后修改文件后缀为.reg,修改后双击运行注册表文件即可。

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\open_cmd]
@="Open CMD Here"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\shell\open_cmd\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Directory\Background\shell\open_cmd]
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_cmd]
@="在此处打开CMD窗口"
"HasLUAShield"=""
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_cmd\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Drive\shell\open_cmd]
[HKEY_CLASSES_ROOT\Drive\shell\open_cmd]
@="Open CMD Here"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Drive\shell\open_cmd\command]

 

记录生活
磊(LEI) BLOG » WIN10右键菜单添加“在此处打开CMD窗口”