• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • 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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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