Solved

need a program that will recursively copy files

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create Database on Android via Delphi dbExpress 3 130
Delphi inherited method 6 80
Tembedded WB animatid gifs not animated on some pcs 2 86
Firemonkey Queue list 1 33
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

696 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