Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to copy directory ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00275815
Message ID:
00275835
Views:
24
>Hello Friends
>
>Is there any function to copy entire directory . I searched win32api but didn't find anything there. if someone has written it already in vfp then please help.
>
>
>Thanks in adavance
>
>Thanks
Hi Mark,

Probably easiest is to use the FileSystemObject's CopyFolder method. If IE 4.0 or above is installed you can use that. The syntax is:
loFS = CREATEOBJECT('Scripting.FileSystemObject')
loFS.CopyFolder("C:\SOURCE", "C:\DESTINATION")
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform