Windows 7 Robocopy stop creating destination folder

kingjoe

New Member
Hey guys

I am using robocopy in windows 7 to upgrade users computers.

I have it setup to pull users personal documents and such of the old laptop to the new win7 laptop. I do this through the network by setting the old laptops c drive as a network drive z.

i use this for robocopy to grab the files i need.
Code:
robocopy "Z:\Documents and Settings\%user%\My Documents" "C:\Users\%user%\Documents"  /s /z /mir /eta  /xd My*

The problem is that robocopy creates the folder instead of using the one that is already there.

Is there a way to stop this from happening.
 
Back
Top