win10下右键菜单添加“打开cmd”

Posted zjutzz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了win10下右键菜单添加“打开cmd”相关的知识,希望对你有一定的参考价值。

早期版本的win10是可以在文件夹的左上角打开cmd的,更新后发现现在只有powershell能用了。这不方便。

通过修改注册表,可以实现这个功能。

具体做法:新建一个.reg文件win10_add_cmd_mouse_right_click.reg,内容如下:

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryackgroundshellcmd_here]
 
@="打开cmd"
"Icon"="cmd.exe"
 
 
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryackgroundshellcmd_herecommand]
 
@=""C:\Windows\System32\cmd.exe""
 
 
 
[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellcmdPrompt]
 
@="打开cmd" 
 
 
[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellcmdPromptcommand]
 
@=""C:\Windows\System32\cmd.exe" "cd %1""
 
 
 
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshellcmd_here]

@="打开cmd" 
"Icon"="cmd.exe"
 
 
 
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshellcmd_herecommand]
 
@=""C:\Windows\System32\cmd.exe""

保存后双击运行它,并点击确定(如果有360提示恶意程序修改,需要放行)

来源:https://blog.csdn.net/Mr_BEelzebub/article/details/78776104

以上是关于win10下右键菜单添加“打开cmd”的主要内容,如果未能解决你的问题,请参考以下文章

Win10 Shift+右键菜单打开Cmd窗口

手动添加右键菜单没有Git Bash Here

win10 右键菜单添加Git Hash Here

markdown Win10右键菜单当前目录打开CMD

win10中shift+右键,在此处打开cmd窗口

win10 右键菜单很慢的解决方式