Coffeehouse Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Is it possible to consume the Windows "delete event" or replace it with an own one?

Back to Forum: Coffeehouse
  • User profile image
    wastingtime​withforums

    I am working on a replacement for the Windows own Trash Bin. As you know, it doesn't work on network drives and I want to solve it cheaply.

    So.. I want to replace the delete entry in the right-click menu with my own one, or somehow "consume" the "delete event".

    Is this possible? I know I could just add my own entry, but then there would be two delete functions there.

  • User profile image
    DCMonkey

    Following this example, perhaps you could do a similar thing to AllFileSystemObjects or one of the other Predefined Shell Objects, by replacing delete with a command like this:

    HKCR/AllFileSystemObjects/Shell/Delete/command    (Default) = myrecyclebin.exe %1
     
     
     

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.