use*_*594 6 windows registry explorer shell-extensions submenu
我创建了一个小脚本来更改文件名(用_等替换空格).我用参数控制这个脚本.
现在我想将它包含在我的explorer-shell-extention中,所以我尝试添加以下注册表项:
HKEY_CLASSES_ROOT\*\shell\edit filname method a\command
HKEY_CLASSES_ROOT\*\shell\edit filname method b\command
HKEY_CLASSES_ROOT\*\shell\edit filname method c\command
Run Code Online (Sandbox Code Playgroud)
等等.
它工作正常,但我想将所有这些方法打包成一个子菜单.有点像"开放式"选项.那可能吗?
小智 3
您只需编辑它即可扩展您的需求。
Windows Registry Editor Version 5.00
; TOOLS MENU
[HKEY_CLASSES_ROOT\*\shell\contexttools_anchor]
"MUIVerb"="SendTo Tools"
"Icon"="...YOUR PATH...\\files\\Tools.ico"
"ExtendedSubCommandsKey"="*\\ContextMenus\\contexttools"
; "Extended"=""
; __________________________________________________________________________ >
[HKEY_CLASSES_ROOT\*\ContextMenus\contexttools\Shell\001cmd]
"MUIVerb"="Notepad 2"
"Icon"="...YOUR PATH...\\Tools\\app1.exe"
[HKEY_CLASSES_ROOT\*\ContextMenus\contexttools\Shell\001cmd\command]
@="...YOUR PATH...\\Tools\\app1.exe \"%1\""
; __________________________________________________________________________ >
[HKEY_CLASSES_ROOT\*\ContextMenus\contexttools\Shell\005seperator]
"CommandFlags"=dword:00000008
; __________________________________________________________________________ >
[HKEY_CLASSES_ROOT\*\ContextMenus\contexttools\Shell\006cmd]
"MUIVerb"="Hash Compare"
"Icon"="...YOUR PATH...\\Tools\\app2.exe"
[HKEY_CLASSES_ROOT\*\ContextMenus\contexttools\Shell\006cmd\command]
@="...YOUR PATH...\\Tools\\app2.exe \"%1\""
; __________________________________________________________________________ >
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1545 次 |
| 最近记录: |