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
ahmad1467Asked:
Who is Participating?
 
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
 
Dan CraciunIT ConsultantCommented:
You're copying the full content of G:\, so naturally it will copy the recycle bin folder also.

HTH,
Dan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.