>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