Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a file by using parameter
Message
From
09/07/2001 22:47:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Copy a file by using parameter
Miscellaneous
Thread ID:
00528463
Message ID:
00528463
Views:
61
I want to copy a file temp.txt to another file which's name is a variable, I can't do
filename = "newsletter007.txt"
run "copy temp.txt" + filename
But I need to hard code it to
run "copy temp.txt newsletter20010710.txt"
and it will popup a window said "1 file copied" since it used DOS command to do the job.
Anyone has other way to copy file in VFP that can solve the above 2 problems?
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Next
Reply
Map
View

Click here to load this message in the networking platform