How do I copy folders to another drive and maintain the Date Created attribute?

I need to copy about 200 folders to another drive and I need to retain the date created and date modified attributes. I'm running Windows 8.1. How do I accomplish this?

John CarneyReliability Business Tools Analyst IIAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ROBOCOPY c:\src d:\dest /MIR /COPY:DT /DCOPY:T

Will copy all files and folders and preserve the date and time stamps.


Will copy all files and folders and preserve the date & time stamps
use robocopy built-in tool to copy data from one drive to another

Robocopy <source drive> <destination drive> /e /copyall /zb


Robocopy D:\ E:\ /e /copyall /zb

This should take care of everything, use Robocopy with elevated command prompt
Akashay KCommented:
Download the RoboCopy Resource Kit Tools from the Microsoft

Watch Youtube video for software in action
Further Learning Resource

TechHead article illustring how to copy without timestamp changes
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

John CarneyReliability Business Tools Analyst IIAuthor Commented:
Thanks Mahesh and Akashay K. Am I correct in assuming that RoboCopy is not a brand name but rather a free app from Microsoft?  

If so, do I type something  into a command prompt? Or in a "robocopy' dialog box? And how would I copy not the whole drive but one folder only with 200 subfolders, and would it retain the dates on all subfolders. In my case it would be "Cakewalk Projects" on my C drive  to my J Drive. How would i write that?

Robocopy is the command line utility stored under system32 folder

It is built-in utility on your win 8 \ 8.1 \ 7 machines

If you want to check syntax of command you can simply type Robocopy /?

Robocopy by default copy all sub folders \ files within provided path in incremental way

What I mean if you 1st time copy one folder with 200 sub folders and next time you add 10 new folders in source, then if you run same path again from robocopy, it will copy only those new 10 folders (incremental copy)

To copy folder with 200 sub folders syntax could be:

Robocopy.exe D:\folderx E:\folderx /e /zb /copyall

This should copy root folder along with 200 sub folders including time stamp (all attributes including NTFS permissions as well)
ROBOCOPY  "C:\Cakewalk Projects"  J:\  /MIR /COPY:DAT /DCOPY:T 

Open in new window

You can natively run robocopy from anywhere in windows.

ZB specified by Mahesh above allows for you to restart if the copy breaks.

Please read the link below to better understand the command.

/MT can help to speed things up:

Creates multi-threaded copies with N threads. N must be an integer between 1 and 128. The default value for N is 8.

The /MT parameter cannot be used with the /IPG and /EFSRAW parameters.

Redirect output using /LOG option for better performance.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
John CarneyReliability Business Tools Analyst IIAuthor Commented:
Thanks, everyone!

becraig, so is this exactly what I enter into the command line: ROBOCOPY  "C:\Cakewalk Projects"  J:\  /MIR /COPY:DAT /DCOPY:T ? And that's it?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.