注册表添加多级菜单

案例:添加.EXE文件右键菜单父菜单项【DC编程助手】,子菜单项【PEiD】【OllyDbg】

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\DC]
"SubCommands"="PEiD;OllyDbg"
"MUIVerb"="DC编程助手"
"icon"="\"D:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\MSDEV.EXE\""
"Position"="1"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\PEiD]
"icon"="D:\\Program Files\\PEiD0.95\\PEiD.exe"
@="PEiD"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\PEiD\command]
@="D:\\Program Files\\PEiD0.95\\PEiD.exe %1"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\OllyDbg]
"icon"="D:\\Program Files\\OllyDbg\\ollydbg.exe"
@="OllyDbg"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\OllyDbg\command]
@="D:\\Program Files\\OllyDbg\\ollydbg.exe %1"

posted on 2014-04-29 17:30  SpringStudio  阅读(961)  评论(0编辑  收藏  举报

导航