Solved

need a program that will recursively copy files

Posted on 2002-07-19
4
123 Views
Last Modified: 2010-04-04
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
Comment
Question by:rutledgj
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
Hamlet081299 earned 200 total points
ID: 7164881
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
 
LVL 5

Expert Comment

by:Hamlet081299
ID: 7164889
Or are you talking about writing a program to "Ghost" a hard drive?  I.e. Make a copy of the ENTIRE drive.
0
 

Author Comment

by:rutledgj
ID: 7164894
No. I just need to copy about 5 directories which I will hardcode the path in.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7164956
there is a shelloperation for this ...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question