Path of Recycle Bin on Windows | Unix Linux Forums | Windows & DOS: Issues & Discussions

  Go Back    


Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Path of Recycle Bin on Windows

Windows & DOS: Issues & Discussions


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-18-2007
milhan milhan is offline
Registered User
 
Join Date: Oct 2002
Last Activity: 11 December 2012, 10:36 PM EST
Location: /home
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 01-19-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 18 December 2014, 2:02 PM EST
Location: Ashburn, Virginia
Posts: 9,930
Thanks: 64
Thanked 440 Times in 261 Posts
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.
Sponsored Links
    #3  
Old 01-19-2007
milhan milhan is offline
Registered User
 
Join Date: Oct 2002
Last Activity: 11 December 2012, 10:36 PM EST
Location: /home
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Perderabo
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.

Code:
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>          ..


Last edited by milhan; 01-19-2007 at 03:32 PM..
    #4  
Old 01-19-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 18 December 2014, 2:02 PM EST
Location: Ashburn, Virginia
Posts: 9,930
Thanks: 64
Thanked 440 Times in 261 Posts
Reread my post and notice words 9 through 12 of sentence 2.
Sponsored Links
    #5  
Old 01-19-2007
milhan milhan is offline
Registered User
 
Join Date: Oct 2002
Last Activity: 11 December 2012, 10:36 PM EST
Location: /home
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Perderabo
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
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
echo windows path shammah77 UNIX for Dummies Questions & Answers 5 03-09-2012 01:39 AM
Recycle Bin arun508.gatike Shell Programming and Scripting 4 01-02-2012 07:40 AM
How to map a path to a drive in windows Bobby16 Windows & DOS: Issues & Discussions 3 09-20-2011 05:57 PM
accessing NFS absolute path symlinks from windows/cygwin andredz UNIX for Advanced & Expert Users 1 06-04-2010 02:45 AM
HP-UX recycle Hemanth_gp UNIX for Dummies Questions & Answers 3 07-02-2008 06:28 PM



All times are GMT -4. The time now is 07:04 PM.