Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying and Deleting Directories
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01399017
Message ID:
01399870
Views:
61
> Is there something comparable for copying a folder along with all its subfolders?

The SHFileOperation API will do that: copy or move file|directory.

The Windows Scripting also can be used (well, internally it probably calls the SHFileOperation) :
fso = CREATEOBJECT("Scripting.FileSystemObject")
fso.CopyFolder([source], [destination])
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform