Need help with robocopy, keeping dir times

slade8200

New member
Local time
4:32 AM
Messages
22
I have a bunch of folders and files under "d:\files".

I want to move them to "e:\". And I want everything moved (dirs and files) to retain their times.

I'm using:

robocopy "d:\files" "e:" /copy:dat /move /e /dcopy:t

But the folders that get moved have all today's date.

Any help? Thanks.
 

My Computer

OS
x64 Ultimate
It doesnt work with move run without move and it will work you could run a cmd after to del all the files
 

My Computer

Computer type
PC/Desktop
OS
win 8 32 bit
Now running this:

robocopy "d:\files" "e:" /copy:dat /e /dcopy:t

and the directory still have today's time.

Any other ideas?
 

My Computer

OS
x64 Ultimate
Only way I got this to work was to create another folder (put my d:\files into d:\files\files), and run the same command:

robocopy "d:\files" "e:" /copy:dat /e /dcopy:t

Seems like the top folder gets today's date, everything under it gets its original date.
 

My Computer

OS
x64 Ultimate
Back
Top