右键菜单怎样添加“在此处打开命令提示符”选项
程序员文章站
2022-05-12 12:53:14
效果图: 1.增加命令提示符 2.增加PowerShell 以上内容保存为缀名为OpenCmdHere.reg,双击OpenCmdHere.reg文件运行,弹出的提示点确认,修改注册表就大功告成了! 下载链接:https://files.cnblogs.com/files/dyj057/opencm ......
效果图:
1.增加命令提示符
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""
2.增加PowerShell
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\OpenPsHere] @="在此处打开PowerShell" "Icon"="powershell.exe" [HKEY_CLASSES_ROOT\Directory\shell\OpenPsHere\command] @="powershell.exe -noexit -command Set-Location -literalPath '%V'" [HKEY_CLASSES_ROOT\Directory\Background\shell\OpenPsHere] @="在此处打开PowerShell" "Icon"="powershell.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\OpenPsHere\command] @="powershell.exe -noexit -command Set-Location -literalPath '%V'" [HKEY_CLASSES_ROOT\Drive\shell\OpenPsHere] @="在此处打开PowerShell" "Icon"="powershell.exe" [HKEY_CLASSES_ROOT\Drive\shell\OpenPsHere\command] @="powershell.exe -noexit -command Set-Location -literalPath '%V'" [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenPsHere] @="在此处打开PowerShell" "Icon"="powershell.exe" [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenPsHere\command] @="powershell.exe -noexit -command Set-Location -literalPath '%V'"
以上内容保存为缀名为OpenCmdHere.reg,双击OpenCmdHere.reg文件运行,弹出的提示点确认,修改注册表就大功告成了!
上一篇: CCF认证201912-4. 区块链
下一篇: php实现读取内存顺序号
推荐阅读
-
Winform中怎样设置ContextMenuStrip右键菜单的选项ToolStripMenuItem添加照片
-
右键菜单怎样添加“在此处打开命令提示符”选项
-
Win10如何在右键菜单添加“在此处打开命令窗口”设置项?
-
win10为右键菜单添加“在此处打开命令提示符(管理员)”选项
-
在右键菜单中添加“在此处打开CMD窗口“
-
Winform中怎样设置ContextMenuStrip右键菜单的选项ToolStripMenuItem添加照片
-
详解python实现应用程序在右键菜单中添加打开方式步骤
-
右键菜单怎样添加“在此处打开命令提示符”选项
-
详解python实现应用程序在右键菜单中添加打开方式步骤