Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a file and rename with W.S.H.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982830
Message ID:
00982833
Views:
28
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform