Solved

need a program that will recursively copy files

Posted on 2002-07-19
4
127 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 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