>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