当前位置:3016.com-金沙城中心官网 > 系统 > 【3016.com】右键菜单怎样添加“在此处打开命令提

【3016.com】右键菜单怎样添加“在此处打开命令提

文章作者:系统 上传时间:2019-10-14

效果图:

3016.com 1

 

1.增加命令提示符

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
@="在此处打开命令提示符"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
@="在此处打开命令提示符"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

[HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
@="在此处打开命令提示符"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenCmdHere]
@="在此处打开命令提示符"
"Icon"="cmd.exe"

[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenCmdHerecommand]
@="cmd.exe /s /k pushd "%V""

  2.增加PowerShell

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshellOpenPsHere]
@="在此处打开PowerShell"
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOTDirectoryshellOpenPsHerecommand]
@="powershell.exe -noexit -command Set-Location -literalPath '%V'"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenPsHere]
@="在此处打开PowerShell"
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenPsHerecommand]
@="powershell.exe -noexit -command Set-Location -literalPath '%V'"

[HKEY_CLASSES_ROOTDriveshellOpenPsHere]
@="在此处打开PowerShell"
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOTDriveshellOpenPsHerecommand]
@="powershell.exe -noexit -command Set-Location -literalPath '%V'"

[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenPsHere]
@="在此处打开PowerShell"
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellOpenPsHerecommand]
@="powershell.exe -noexit -command Set-Location -literalPath '%V'"

  以上内容保存为缀名为OpenCmdHere.reg,双击OpenCmdHere.reg文件运行,弹出的提示点确认,修改注册表就大功告成了!

   下载链接:

本文由3016.com-金沙城中心官网发布于系统,转载请注明出处:【3016.com】右键菜单怎样添加“在此处打开命令提

关键词: