如何为回收站添加上下文菜单 [英] How can I add a context menu for recycle bin

查看:239
本文介绍了如何为回收站添加上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何管理为Windows回收站添加上下文菜单?我如何才能最终访问其中的文件?我知道回收站是一个虚拟文件夹,它有一个树状结构,我必须去一路访问文件内吗?

How can I manage to add a context menu for windows recycle bin? And how could I eventually access the files within? I know Recycle bin is a virtual folder and that it has a tree-like structure, do I have to go all the way to access the files within?

已编辑:

HKLM
{
NoRemove Software
{
    NoRemove Classes 
    {
        NoRemove CLSID
        {
            NoRemove {645FF040-5081-101B-9F08-00AA002F954E}
            {
                NoRemove shellex
                {
                    NoRemove ContextMenuHandlers
                    {
                        ForceRemove {FC944A65-4422-4A2C-B867-1BA01318A944}
                    }
                }
            }
        }
     }      
   }
}   


推荐答案

p>查看以下注册表项:

Look at the following Registry keys:

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellEx

对于你正在尝试的,你可能必须编写一个上下文菜单Shell扩展并注册到 ShellEx 键。

For what you are attempting, you will likely have to write a Context Menu Shell Extension and register it in the ShellEx key.

创建Shell扩展处理程序 a>

创建快捷菜单处理程序

这篇关于如何为回收站添加上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆