Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 To: Káldeus
  
 Budapest
 
 Káldeus
 Tags
Subject: RE: Copy an entire directory
Thread ID: 21840 Message ID: 21844 # Views: 7 # Ratings: 0
Version: Visual FoxPro 6 Category: Win32API programming
Date: Wednesday, April 02, 2003 10:09:47 PM         
   


I suppose this will do what you need:
1.
run XCOPY ...

See DOS Help for XCOPY for more details

2. You may shutdown PC automatically upon completing the program. If I recall correctly, there was shutdown routine in download section on UT.

>
> Hi all,
>
> All I want is to copy an entire directory with it's subfolders from one drive to another. No compression needed, just an exact copy. Because of large amount of files, the copy process may last couple of hours.
> Is there any way to write a VFP code to do this? As I plan the program will fire at the evening and shut down the computer after the job has been done.
> My question:
> 1. How to issue the copy process incl. subfolders?
> 2. How to get information the copy process is still running (e.g. there is no need to shut down the computer yet)?
>
> TIA, Káldeus
>


COMPLETE THREAD

Copy an entire directory Posted by Káldeus @ 4/2/2003 9:49:38 PM
RE: Copy an entire directory Posted by Yuri Rubinov @ 4/2/2003 10:09:47 PM
OK Yuri, thank you! Posted by Káldeus @ 4/4/2003 8:58:54 AM