Windows10增加右键菜单命令提示符CMD

Windows10没有了像Windows7一样右键菜单在此处打开命令提示符,即使按住Shift右键菜单也只有在此处打开Powershell窗口,有时候还是CMD命令提示符方便。

addCMD.reg是增加右键菜单的CMD,delCMD.reg是删除右键菜单的CMD,需要重启Windows资源管理器才会生效。

 

addCMD.reg内容如下:

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\""

delCMD.reg内容如下:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]

[-HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]

[-HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]

[-HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]

[-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]

[-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command]

有话要说