Windows – Open items in recycle bin without restoring

file managementrecycle-binwindows 7

I just noticed that I can open folders from the recycle bin without restoring them. I have the qttabbar extension that adds tabs to the standard windows explorer and I accidentally middle-clicked a folder.

It not only opened fine in a tab, but its contents behaved as if not deleted: proper open action and a full right-click menu.

That means all that's keeping users from opening files inside of recycle bin is that there's no menu action/open handler or whatever.

To be fair, notepad2 did choke on opening a file from a subfolder in recycle bin (bad path), although notepad++ handled the same file just fine. Thus this feature might not be for the faint of heart, but it would be extremely useful when crawling through heaps of garbage 🙂

Has anyone heard of such a hack/feature?

Best Answer

The Old New Thing seems to explain it: http://blogs.msdn.com/b/oldnewthing/archive/2006/01/31/520225.aspx. FAT drives just use a folder C:\RECYCLED, and NTFS drives use the set of folders C:\RECYCLER\S-.... So it sound like your toolbar is just looking in there. I had a look once without it (sadly don't remember how.)

So: the hack is probably just to look in a hidden folder. I don't have a Windows machine on me to look at and test how easy it is to get in there. I doubt that Windows Explorer will do it, but cmd might. (At your own risk, etc.)

The next question is why Microsoft "lock" the files. It's probably so no idiot starts using the bin as their My Documents folder, or so you have to make a decision -- restore or delete, but no peeking.

Related Question