cant get robocopy, xcopy, etc, to work the way I want

cyr0n_k0r

Supreme [H]ardness
Joined
Mar 30, 2001
Messages
5,360
I want to copy all files from one directory to another.

The most important thing to me is the "Date Modified" on the directory. No matter what command I try in robocopy or xcopy it keeps overwriting the Date Modified in the destination to the current time and day.

It keeps the date modified for all the files just fine, but overwrites the date and time on all directories. This is a windows xp machine using the windows 2003 resource version of robocopy. And built in version of xcopy for XP.

Any help?
 
robocopy with the /copyall switch should do that for you.

/copyall will only apply to file atributes. /COPY: DATSOU is implied.
I've tried the /DCOPY:T but it doesn't work in the 2003 version of robocopy. It's only supported in the vista version which I can't find.
 
Back
Top