• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

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.
0
rutledgj
Asked:
rutledgj
  • 2
1 Solution
 
Hamlet081299Commented:
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.
0
 
Hamlet081299Commented:
Or are you talking about writing a program to "Ghost" a hard drive?  I.e. Make a copy of the ENTIRE drive.
0
 
rutledgjAuthor Commented:
No. I just need to copy about 5 directories which I will hardcode the path in.
0
 
kretzschmarCommented:
there is a shelloperation for this ...
0
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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now