Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to usb
Message
From
07/04/2005 08:51:25
 
 
To
07/04/2005 08:47:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01002192
Message ID:
01002239
Views:
23
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
cSource = "E:\Dra"
cDestination = "G:\"
oFSO.CopyFolder(cSource, cDestination) && it does not overwrite the old content, if found
&& or
oFSO.CopyFolder(cSource, cDestination, .T.) && it overwrites any content, if OS allows it.
Hope this helps.


(update. I forgot to add the formatting tags).
Grigore Dolghin
Class Software.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform