Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Folders copying
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00751931
Message ID:
00751941
Views:
17
>Hi all,
>
>I want to copy folders that has subfolders and files. Can any one help me how to do it in VFP.
>
>Thanks in advance.
>
Mun,

Not directly with VFP, but you can use the Windows Script Host's FileSystemObject.
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
oFSO.CopyFolder(lcsource, lcdestination, [.T. - Overwrite files ])
George

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

Click here to load this message in the networking platform