windown 右击菜单的注册表相关项
来源:互联网 发布:股票数据怎么看 编辑:程序博客网 时间:2024/05/17 04:59
原文地址:http://windowsxp.mvps.org/context_folders.htm
Managing the Context Menu Entries manually using the Registry (For "Advanced" users)
* HKCR refers to HKEY_CLASSES_ROOT
Directories
FolderType
Drives
Namespace objects
Files
Backup the Registry first
This entire article discusses about editing the registry to modify the context menu entries for an object. Before modifying the registry, it's advisable to create appropriate backups. Start Regedit.exe and navigate to the key which you want to modify. Look under eachof the sub-keys for the context-menu entry name which you want to remove. Before deleting the key, backup the corresponding branch if you want to undo the changes later. As you're not modifying various parts of the registry,exporting the related subkey should be enough. Once done,delete the sub key and the context menu is gone.
To know how to backup the registry completely, see the following pages:
- Complete registry backup using ERUNT
- How do I create a System Restore point?
Directory
The context-menu entries for Directories is built from these locations inthe registry. The same applies for the Start button in the Taskbar
[HKCR/Folder/Shell/]
[HKCR/Folder/ShellEx/ContextMenuHandlers/]
[HKCR/Directory/Shell/]
[HKCR/Directory/ShellEx/ContextMenuHandlers/]
[HKCR/AllFilesystemObjects/shell/]
[HKCR / AllFilesystemObjects / shellex / ContextMenuHandlers/]
Some more obscure locations - Based on the FolderType Template
For Music folders, the context menu loads from this additional location:
[HKCR/SystemFileAssociations/Directory.Audio/shell/]
[HKCR/SystemFileAssociations/Directory.Audio/shellex/ContextMenuHandlers/]
For Video folders
[HKCR/SystemFileAssociations/Directory.Video/shell/]
[HKCR/SystemFileAssociations/Directory.Video/shellex/ContextMenuHandlers/]
For Picture folders
[HKCR/SystemFileAssociations/Directory.Image/shell/]
[HKCR/SystemFileAssociations/Directory.Image/shellex/ContextMenuHandlers/]
Drives
To remove the context-menu entries for Drives, the following are the paths:
- [HKCR/Drive/Shell/]
- [HKCR/Folder/Shell/]
- [HKCR/Drive/ShellEx/ContextMenuHandlers/]
- [HKCR/Folder/ShellEx/ContextMenuHandlers/]
Namespace objects
To remove the context-menu entries for Namespace icons (My Computer, Recycle Bin etc), check here:
- [HKCR/Folder/Shell/]
- [HKCR/Folder/ShellEx/ContextMenuHandlers/]
- [HKCR/CLSID/{Namespace-CLSID}/shell/]
- [HKCR/CLSID/{Namespace-CLSID}/ shellex / ContextMenuHandlers/]
Example - For My Computer the key would be:
- [HKCR/CLSID/{20D04FE0-3AEA-1069-A2D8-08002B30309D}/shellex/ContextMenuHandlers/]
Files
The context-menu entries for Files are built from the following registry locations:
- [HKCR/<ProgID>/shellex/ContextMenuHandlers/]
- [HKCR /*/shellex/ContextMenuHandlers/]
- [HKCR/*/shell/]
- [HKCR/AllFilesystemObjects/shellex/ContextMenuHandlers/]
To remove the WinZip related context-menu entries, seen on the picture, you need to remove the entries here:
[HKCR/*/shellex/ContextMenuHandlers/WinZip]
Example: For Shortcuts (.lnk files), the context-menu is built from:
- [HKCR/lnkfile/shellex/ContextMenuHandlers/]
- [HKCR/exefile/shell/]
- [HKCR/exefile/shellex/ContextMenuHandlers/]
- [HKCR/AllFilesystemObjects/shell/]
- [HKCR/*/shell/]
- [HKCR/*/shellex/ContextMenuHandlers/]
- [HKCR/AllFilesystemObjects/shellex/ContextMenuHandlers/]
- windown 右击菜单的注册表相关项
- vb修改注册表——在IE 中添加右击菜单的一项功能
- windown 相关产品下载
- VS2005的右击菜单不见了?
- Qt 右击菜单的示例
- Qt 右击菜单的添加
- JTable的右击弹出菜单试验
- ObjectARX右击菜单的设计
- 解决WPF右键菜单的菜单项左击有效右击无效的问题
- ListView右击选中项弹出菜单
- Window 去掉 Git 右击菜单项
- kdtable右击菜单
- 鼠标右击菜单
- 右击显示菜单
- javaScript windown的属性
- 和用户隐私相关的注册表项
- 注册表的相关基础知识
- 注册表的相关操作
- ubuntu NDK 的安装
- 正则表达式30分钟入门教程 1.本文目标
- Visual C++ 6.0环境配置
- 学习笔记之三dos命令进阶
- icmp socket 之二
- windown 右击菜单的注册表相关项
- 学习笔记二之dos启动和可执行文件
- SVN1.6服务端和客户端安装配置之专家指导
- STL_Algorithm9: inplace_merge, unique_copy, reverse_copy
- SQL中的集合运算有必要存在的几个例子
- 选择排序
- 我们为什么要选择Silverlight?(CSDN网友的见解分享大家)【转】
- Tomcat的Session管理(一) - Session的生成
- C++基本知识一