Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 408
  • Last Modified:

Using Robocop on a Windows 2008 Server

I am trying to use Robocop on a Windows 2008 server but for some reason it moves the destination folder to the recycling bin and continues to copy files to the bin, example in the log it shows this: {G:\$RECYCLE.BIN\S-1-5-21-1032887094-754113994-2803742109-1396}   the CMD I;m running is:  [robocopy G: I:\800i-oldG-drive /copyall /mir /log:c:\cp.txt /tee] I’m not why
Thanks
0
ahmad1467
Asked:
ahmad1467
1 Solution
 
Dan CraciunIT ConsultantCommented:
You're copying the full content of G:\, so naturally it will copy the recycle bin folder also.

HTH,
Dan
0
 
Tony GiangrecoCommented:
try this with the XD parm that tells Robocopy to exclude a folder.

robocopy G: I:\800i-oldG-drive /copyall /mir /log:c:\cp.txt /tee \xd G:\$RECYCLE.BIN
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now