热点科技

标题: [求助] 如何在 HKCR\Directory\Background 下添加多个右键菜单? [打印本页]

作者: wiil    时间: 2006-9-14 10:32
标题: [求助] 如何在 HKCR\Directory\Background 下添加多个右键菜单?
如何在 HKCR\Directory\Background 下添加多个右键菜单?
我在 HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers 成功添加了一个右键菜单,能执行任何程序,但是添加第二个却显示不出来,有人这样尝试过吗?有成功的经验可否共享吗?
谢谢!

这是我导出来的文件:(执行 C:\SuperHidden.vbs,菜单中显示为 “Super Hidden”)

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\SuperHidden]
@="{00000000-0000-0000-0000-000000000012}"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\InProcServer32]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,73,\
  68,64,6f,63,76,77,2e,64,6c,6c,00
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\Instance]
"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\Instance\InitPropertyBag]
"method"="ShellExecute"
&quotaram1"="C:\\SuperHidden.vbs"
"command"="Super Hidden"
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"




欢迎光临 热点科技 (http://www.itheat.com/activity/) Powered by Discuz! X3.2