How can I add a context menu for recycle bin

纵饮孤独 提交于 2019-12-10 12:03:38

问题


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?

edited:

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

回答1:


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

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

Creating Shell Extension Handlers

Creating Shortcut Menu Handlers



来源:https://stackoverflow.com/questions/12057270/how-can-i-add-a-context-menu-for-recycle-bin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!