Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy an entire folder
Message
 
 
À
28/02/2002 20:34:36
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00626725
Message ID:
00626766
Vues:
10
>>>Hi Marcia:
>>>
>>>I do have a few folders in the DataFiles folder itself. How do i select them to be copied als along with the contents of each of those folders?
>>>
>>>TIA.
>>>
>>>- Ravi
>>
>>XCOPY /E /S
>>
>>Hope this helps
>
>
>Hi Grigore:
>
>Thank you for your response. I put the code as follows, but it did not work.
>
>
XCOPY "C:\Datefiles" to  "c:\Distribution\PreparedTables\Datefiles" /E /S
>
>Gave me an "Unrecognized command verb" error message.
>
>- Ravi

XCOPY is a DOS command, not VFP, so it should be invoked through RUN or !

I would suggest to try Ed's idea, the function is documented in API section.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform