Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy a file and rename with W.S.H.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00982830
Message ID:
00982833
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>Hi all,
>
>i want copy ( and rename ) a file c:\Myfolder\xxmyfich INTO c:\Myfolder\yymyfich with W.S.H.
>
>How can i do it ?
>
>
>bernhart
loFSO = Createobject('Scripting.FileSystemObject')
loFSO.CopyFile('c:\MyFolder\xxMyFich', 'c:\MyFolder\yyMyFich')
Why don't you want to use COPY FILE c:\MyFolder\xxMyFich TO c:\MyFolder\yyMyFich?
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform