注册表添加多级菜单

时间:2014-07-22 23:17:14   收藏:0   阅读:531

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

mamicode.com,码迷

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"

注册表添加多级菜单,码迷,mamicode.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!