Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to COPY files in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00583804
Message ID:
00583852
Vues:
33
>HI.
>
>I am trying to copy files within VFP and cant find a suitable command:
>I want to do something like:
> Copy C:\MyFolder\*.zip to C:\MyFOlder\MyArea
>
>The Copy To command seems to only allow copy of an open Table
>The COPY file command seems to just make a copy in the curent folder
>

You have to give the FILE clause as well as the complete template for the copy. Try:
Copy <b>FILE</b> C:\MyFolder\*.zip to C:\MyFOlder\MyArea<b>\*.zip</b>
>Regards,
>
>Gerard
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform