日期:2014-05-17  浏览次数:20964 次

如何创建一个“我的电脑”那样的系统文件夹
安装江民后,桌面会多出一个“江民杀毒”的系统文件夹,右键单击会弹出一个快捷菜单,菜单里有很多命令。这个系统文件夹和桌面上的“我的电脑”很类似,我也想创建一个这样的系统文件夹。“Shell   Object   Editor   系统对象编辑器”就是一个这样的软件,可惜功能太少,各位高手有没有好的办法?

------解决方案--------------------
support.microsoft.com/kb/178665
------解决方案--------------------
自然要编程序实现了,也并非复杂, 注册一下自己的程序关联右键菜单就可以了
------解决方案--------------------
看看例子:
================

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00000000-1010-1010-1010-000000000001}]
"InfoTip "= "音乐播放器 "
@= "foobar2000 "
"IntroText "= "音乐播放器 "
"LocalizedString "= "foobar2000 "

[HKEY_CLASSES_ROOT\CLSID\{00000000-1010-1010-1010-000000000001}\DefaultIcon]
@= "\ "C:\\Program Files\\foobar2000\\foobar2000.exe\ ",-0 "

[HKEY_CLASSES_ROOT\CLSID\{00000000-1010-1010-1010-000000000001}\shell]
@= "Open "

[HKEY_CLASSES_ROOT\CLSID\{00000000-1010-1010-1010-000000000001}\shell\Open]
@= "&Open "

[HKEY_CLASSES_ROOT\CLSID\{00000000-1010-1010-1010-000000000001}\shell\Open\Command]
@=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,66,00,6f,00,6f,00,62,00,61,00,72,00,\
32,00,30,00,30,00,30,00,5c,00,66,00,6f,00,6f,00,62,00,61,00,72,00,32,00,30,\
00,30,00,30,00,2e,00,65,00,78,00,65,00,22,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00000000-1010-1010-1010-000000000001}]
@= "foobar2000 "

=================
那对16进制码实际上是UNICODE的 "C:\Program Files\foobar2000\foobar2000.exe "