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
Solved

need a program that will recursively copy files

Posted on 2002-07-19
4
124 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 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