Move files to directory instead of recycle bin

6

2

I want all deleted files (with DEL-key or context menu > delete) not to be moved to the Recycle Bin but to another directory (like "Deleted Files" for instance), thus changing the default behavior of Windows Explorer.

Is this at all possible? Maybe by editing a registry key or putting a little script somewhere?

Background:

Files in redirected folders (per GPO) are not moved to the recycle bin but deleted instantly. With the required behavior I could simulate my own recycle bin.

marsze

Posted 2013-09-26T06:43:28.527

Reputation: 161

I asked a question about how to create a batch script to move files from the Recycle Bin to another folder. Here is the link.

– jsve – 2014-02-12T04:28:14.027

And what about deleting permanentally? Would you like to move those files to your folder too? – Jet – 2014-05-01T14:08:15.277

I want to "simulate" a recycle bin, so: no. – marsze – 2014-05-05T07:21:15.040

Answers

1

I'd think it's unlikely Microsoft would permit this level of manipulation with the GUI/file management system--seems like it would be a gaping security hole.

It's not nearly as seamless as what you're looking for, but the next-best thing I can think of is to add a shortcut to your 'Deleted Files' folder to the Windows 'Send To' folder, per the instructions here:

You’ve seen the SendTo folder in action any time you right-click a file and select the Send To folder from the context menu. What you might be unaware of is that you can customize the items in this menu.

...

To get to the SendTo folder, you’ll need to open up an Explorer window, and then paste in the following to the address bar:

%APPDATA%\Microsoft\Windows\SendTo

...

Let’s say you wanted to add an item to the Send To menu to open files in Notepad. You could just drag a shortcut to Notepad into this folder, or create a new shortcut.

For your purposes, create a shortcut to the 'Deleted Files' folder in this ...\SendTo folder.

hBy2Py

Posted 2013-09-26T06:43:28.527

Reputation: 2 123

Thanks for the comment, Brian, but would you mind explaining what the page says to do incase the link dies one day? – cutrightjm – 2014-12-23T06:12:04.693

I don't see where the page says anything about links dying, so I'm not sure how to respond as regards the page itself. If the link stops working at some point, though, all you have to do is delete the old link and make a new one. – hBy2Py – 2014-12-23T12:07:11.507

1OH, you mean copying in the relevant parts from the link. Right, sorry. Will edit shortly. – hBy2Py – 2014-12-23T14:24:31.137

0

I'm not at all clear about what you're trying to accomplish with this. The Recycle Bin is just a folder on the hard drive (actually named "$Recycle.Bin" -- and, of course, hidden from normal views.) But if you want to rename it to "Deleted Files" you can do so in the registry, by editing the default Reg_SZ value at HKCU|SOFTWARE|MICROSOFT|WINDOWS|CURRENT VERSION|EXPLORER|CLSID|{645FF040-5081-101B-9F08-00AA002F954E}

There are detailed step-by-step instructions for renaming it here: http://www.wikihow.com/Rename-the-Windows-Recycle-Bin

If that won't suffice, please clarify what you are trying to accomplish with this.

Debra

Posted 2013-09-26T06:43:28.527

Reputation: 4 000