Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy all the files tif files from one folder to a
Message
De
31/08/2004 18:04:27
 
 
À
31/08/2004 17:59:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00938220
Message ID:
00938235
Vues:
15
>Hello Fred,
>
>I have 34 different folders which has the tiff files in it to copy all the files from them to one single location.
>So i copy the first and then go to the next folder and copy them like that until i finsh all the 34 folders.
>
>Is there a way for me to know, the first folder tiff files are copied to the location now copy the second folder tiff files.
>Because if the first copy is in progress then i don't want to start the second set of files.
>
>Is it possible for me to know via program the the copy process is finished now go to next. becuase i put all the 34 folders info in a loop.
>
>Thank you very much.

FoxPro is sequential, not multi threaded. The program won't continue to the next statement until the COPY FILEs are all copied.

If you need to track what's going on, you'll need to do an ADIR() to get the files information into an array and process that through a loop, or you can use the SYS(2000) function to get the file names if there are more than 13000 files in a folder (an ADIR() limit because of the array (13000*5 elements for each file, 65000 elements - VFP9 will not have that limit).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform