A friend has 3 deleted files in his Recycle Bin that he can’t seem to get rid of. I suggested first he right click on the desktop icon and hit B to delete them, and if that did not work, go to Win Explorer and near the bottom find Recycle Bin. Click on that and see if he can see the files there and delete them. Neither worked.
So, I recall when I did everything in DOS (before being forced into Windows), one thing that worked when having trouble deleting something: you could go to the file in question, type in “deltree xxxx.xxx” and that almost always worked
So, I opened a DOS box (in XP), but could not find Recycle Bin. I then recalled that in DOS you can’t use two words or anything more than eight letters (hey, it has been a long time). I then rememberd it was called Recycler in DOs, so typed “CD c:\recycler” and got there. I had delted a .doc file as a test, but when I hit dir, nothing showed up.
Anybody know why? Does the Recycle Bin lurk in some other mysterious place in the C: tree? Wassup?
In Windows XP at least, it’s in a subdirectory of C:\RECYCLER with a weird name. As of when I sent this reply, mine seems to be C:\RECYCLER\S-1-5-21-448539723-436374069-839522115-2822
If you want to see where it is on your machine, you’ll need to Show hidden files and folders and turn off Hide protected operating system files in your folder options.
Incidentally, deltree doesn’t exist in the XP command line because it isn’t really DOS. Whatever Windows is doing to keep those files from going away, you aren’t going to be able to outsmart it by going over its head like you could with previous versions of Windows.
When I do a “dir” at \recycler, I get “no files or folders found” so there don’t seem to be any subfolders or files in it, even though the recycle bin now has 3 deleted files in it. I tried your weird numerical subdirectory, but it was not there
Oh, yeah, I chose Show Hidden files & folders and Hide protected sys files a long time ago. Still no joy.
What was achieved with deltree in the Windows 9x shell and in DOS is achieved with the /s switch of rd in newer shells such as that of Windows XP, so there was no need to keep deltree.
But you’re right that Windows shells do like to pretend that certain files and directories don’t exist. They’re still there, and third-party shells can see them and delete them just fine.
Try “dir /a”, it shows all files and directories, including the hidden ones.
ETA: Windows XP also supports completion of commands. So if you’re in C:\RECYCLER, just type "cd " and press Tab; it will make your recycling bin folder’s name appear.
The “dir /a” works fine, and see the Recycler dir. However, when I go there, then try the “cd” and Tab, nothing happens, except it goes back to “C:\Recycler” with no list of the delted file.