陈叨叨·幻色

  • 首页
  • 激情海钓
  • 叨摄型影
  • 叨舍闲居
  • 叨说天下
  • 学无止境
  • 程序开发
  • 电脑数码
  • 灵光乍现
宁可一次一次的去撞南墙,也不能一个一个的失去理想。
  1. 首页
  2. 程序开发
  3. 正文

关于对Win7右键菜单“新建”项的不完全研究

2010-12-04 1556点热度 0人点赞 0条评论

用了几种软件尝试清理右键菜单“新建”项,结果发现有一项各种软件始终认不出来,就是各种软件都看不见这项,而这项却确实存在于“新建”菜单中,遂决定亲自抄刀,找出元凶。整理资料如下。

注:只在WIN7下测试,不保证在XP下有效。

Windows Registry Editor Version 5.00

# 新建菜单项

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew]
"Classes"=hex(7):2e,00,63,00,6f,00,6e,00,74,00,61,00,63,00,74,00,00,00,2e,00,\
  64,00,6c,00,66,00,00,00,2e,00,6a,00,6e,00,74,00,00,00,2e,00,6c,00,69,00,62,\
  00,72,00,61,00,72,00,79,00,2d,00,6d,00,73,00,00,00,2e,00,6c,00,6e,00,6b,00,\
  00,00,2e,00,74,00,78,00,74,00,00,00,2e,00,7a,00,69,00,70,00,00,00,2e,00,5a,\
  00,49,00,50,00,58,00,00,00,42,00,72,00,69,00,65,00,66,00,63,00,61,00,73,00,\
  65,00,00,00,46,00,6f,00,6c,00,64,00,65,00,72,00,00,00,00,00
# .contact
# .dlf
# .jnt
# .library-ms
# .lnk
# .txt
# .zip
# .ZIPX
# Briefcase
# Folder
# (上面带有#号的几行是对Classes项的翻译)
"~reserved~"=hex:08,00,00,00,00,00,06,00

[HKEY_USERS\S-1-5-21-1221968524-171588228-2838816322-1001\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew]
"Classes"=hex(7):2e,00,63,00,6f,00,6e,00,74,00,61,00,63,00,74,00,00,00,2e,00,\
  64,00,6c,00,66,00,00,00,2e,00,6a,00,6e,00,74,00,00,00,2e,00,6c,00,69,00,62,\
  00,72,00,61,00,72,00,79,00,2d,00,6d,00,73,00,00,00,2e,00,6c,00,6e,00,6b,00,\
  00,00,2e,00,74,00,78,00,74,00,00,00,2e,00,7a,00,69,00,70,00,00,00,2e,00,5a,\
  00,49,00,50,00,58,00,00,00,42,00,72,00,69,00,65,00,66,00,63,00,61,00,73,00,\
  65,00,00,00,46,00,6f,00,6c,00,64,00,65,00,72,00,00,00,00,00
"~reserved~"=hex:08,00,00,00,00,00,06,00

# 后缀名关联

[HKEY_CLASSES_ROOT\.dlf]
@="Qualcomm DM.LegacyLogFile"
[HKEY_CLASSES_ROOT\.dlf\ShellNew]
"NullFile"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.dlf]
@="Qualcomm DM.LegacyLogFile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.dlf\ShellNew]
"NullFile"=""

# 程序关联

[HKEY_CLASSES_ROOT\Qualcomm DM.LegacyLogFile]
@="Qualcomm DM Legacy Log File"
[HKEY_CLASSES_ROOT\Qualcomm DM.LegacyLogFile\shell]
[HKEY_CLASSES_ROOT\Qualcomm DM.LegacyLogFile\shell\Convert To ISF]
[HKEY_CLASSES_ROOT\Qualcomm DM.LegacyLogFile\shell\Convert To ISF\command]
@="\"E:\\我的生活\\我的手机\\HTC 6800\\刷机\\Tools\\QXDM\\bin\\\\DLFConverter.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Qualcomm DM.LegacyLogFile]
@="Qualcomm DM Legacy Log File"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Qualcomm DM.LegacyLogFile\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Qualcomm DM.LegacyLogFile\shell\Convert To ISF]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Qualcomm DM.LegacyLogFile\shell\Convert To ISF\command]
@="\"E:\\我的生活\\我的手机\\HTC 6800\\刷机\\Tools\\QXDM\\bin\\\\DLFConverter.exe\" \"%1\""

我是想在新建菜单中删除“Qualcomm DM Legacy Log File”这项,所以在“Classes”的数据中直接删掉了“.dlf”,经测试此方法可行。

但是令人不解的事,在改好几分钟之后,“Classes”数据又自动还原回未修改的,本来删掉的新建菜单项又出来了,不知道是何原因,有待明察。

标签: 注册表 程序 系统
最后更新:2010-12-04

陈叨叨

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

取消回复

COPYRIGHT © 2010-2022 C-DD.CN 陈叨叨 ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS

辽ICP备16013045号