Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to remove $recycle.bin on Win7?
Message
From
15/05/2010 02:30:49
 
General information
Forum:
Windows
Category:
Other
Miscellaneous
Thread ID:
01464634
Message ID:
01464654
Views:
29
>>>I am trying to robocopy all files from an external drive to the hard drive on Win 7. But when I execute command ROBOCOPY from the command prompt with parameter /MIR the copying stops (gets stuck) on attempting to delete folder d:\$recycle.bin. I thought that recycle folder should be on the C drive but somehow it ended up being on d: drive. The only way I can see this folder (d:\$recycle.bin) is from the command prompt; when using Windows Explorer this file does not show.
>>
>>The folder doesn't show in Windows Explorer because, by default, it's set to hide protected/operating system files. AFAIK there is a Recycle.bin folder on the root of each mounted volume.
>>
>>Robocopy can exclude one or more folders - search recent messages here from me to Michel Fournier (might be in the UT forum). Or, http://ss64.com/nt/robocopy.html
>
>Let me tell you, using command line options can be dangerous. I used option /XD d:\$recycle.bin and it deleted all folders on the D drive. Good thing that this is a new PC and I can copy files again. So now I am doing ROBOCOPY without /MIR and it should simply copy files.

If you're using Robocopy interactively (rather than via a batch file, for instance) you could try a Robocopy GUI e.g. http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx

Google [robocopy gui]
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform