赶知识网

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

2024-03-17 / 361次点击 OS/操作系统

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]

Top10

沪ICP备09053415号 © 赶知识网