Path of Recycle Bin on Windows

hello everybody,

I am trying to find the path of the Recycle Bin. I know that it's a temporary storage place, but it should have a path that we can refer to.

I want to know it because I sometimes use cygwin to work on Windows, and when you delete something with it, it's gone. I just checked it and the deleted file was not moved to the Recycle Bin.

However, if I know the path to the Recycle Bin, then whenever I need to remove something with cygwin, I can just move it to Recycle Bin. And later if I decide I deleted it accidentally, I can recover it (as is the case on gui)

thanks

It's not that simple. It is a hidden system directory called RECYCLER in the root directory. There is a strange looking subdirectory whose name must match a registry key. The files are renamed and moved in there. A hidden file called INFO2 must get some data added to it. Open a cmd window and use "dir /A" to see the files.

C:\Documents and Settings\user>dir /A
 Volume in drive C has no label.
 Volume Serial Number is ***

 Directory of C:\Documents and Settings\user

01/19/2007  10:40 AM    <DIR>          .
01/19/2007  10:40 AM    <DIR>          ..

Reread my post and notice words 9 through 12 of sentence 2.

Ok, I got it. They are the same deleted files but have different strange names.

thanks