Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file command from one directory to another
Message
De
20/11/2004 20:03:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00961585
Message ID:
00963264
Vues:
7
Thank you.

Neil

>The copy file command does not enforce location, include the full file path for both the source and the target. Make sure the target folder exists. You can also rely on the windows shell or scripting objects (ex: createobject('scripting.filesystemobject').
>
>Troy
>
>>Hi,
>>
>>I need to copy files from one directory to another while in vfp. The COPY FILE command works great as long as the file I am copying is in the directory that I am operating vfp from. Basically I am looking for a command or work around that permits me to operate vfp from a different directory that the file I am copying and then specify the directory to which I want to copy into.
>>
>>Pseudo Code:
>>Copy C:\MyDirectory\MyFile.txt to d:\MyOtherDirectory\FilesNewName.txt
>>
>>Any thoughts?
>>Neil
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform