need a program that will recursively copy files

I need to copy files and folders from one hard drive to another. I need to get all files and subfolders/files.

I need it to create the destination directory if it doesn't exist.  The destination tree should look just like the source tree.

Need it quick. Please help.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Hamlet081299Connect With a Mentor Commented:
You want to do this in Delphi?

Why not just use the DOS command xcopy?

Or if you really want to call xcopy from Delphi.
Or are you talking about writing a program to "Ghost" a hard drive?  I.e. Make a copy of the ENTIRE drive.
rutledgjAuthor Commented:
No. I just need to copy about 5 directories which I will hardcode the path in.
there is a shelloperation for this ...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.