Link to home
Start Free TrialLog in
Avatar of jo2010
jo2010Flag for United States of America

asked on

Using robocopy to copy a directory with out changing file/folder metadata

I am trying to make an exact copy of a directory using robocopy. I need to be able to copy the directory without showing the date modifed as today's date.  

Syntax i am using:
robocopy z:\folderpath\folder\direcotry x:\directory\copy\ /e /R:3 /w:30
If i add /copyall i get permission errors, same if i use /copy:datsu

IF anyone has any information for performing this tasks it would be greatly appreciated.

Thanks,
J
SOLUTION
Avatar of wolfje_xp
wolfje_xp
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Or you can get the (really slick) GUI version of RoboCopy called RichCopy (also free) that makes all these settings a snap.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jo2010

ASKER

Odd, I have version XP010 of robocopy. I used Shift-3's link for to download the robocopy GUI and I still have verision 10. I deleted the old robocopy and it still shows as xp010.

Thanks!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jo2010

ASKER

Thank you so much for the help!
Avatar of jo2010

ASKER

Thanks everyone who posted. I really appreciate the help. Our DOS prompt defaults to our user directory so i just moved a copy of the new robocopy.exe there and am now running xp026 with no problems!