Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to usb
Message
From
07/04/2005 09:04:43
 
 
To
07/04/2005 08:51:25
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:
01002243
Views:
22
hi,
thank you very much.
it works.
best regards

>
>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).
Previous
Reply
Map
View

Click here to load this message in the networking platform