赞助

Win10在右键菜单添加在此处打开命令窗口项

转载:https://jingyan.baidu.com/article/2d5afd6930107a85a2e28e2d.html

第一步:新建一个文本文档,输入如下代码,然后另存为OpenCmdHere.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\""

第二步:保存好OpenCmdHere.reg文件之后,双击运行,如下图所示:

第三步:鼠标右键win10系统桌面,可以看到已经添加上“在此处打开命令窗口”项,点击就可以打开命令行窗口,如下图所示:

下载OpenCmdHere.reg

posted @ 2019-01-14 10:44  车臣  阅读(1870)  评论(2编辑  收藏  举报