Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function to copy directory ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00275815
Message ID:
00275835
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform