Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying files
Message
 
To
05/02/1999 17:45:28
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00184556
Message ID:
00184591
Views:
16
Hiya Jim,

You can copy a folder quickly and easily using the FileSystemObject in Windows Scripting Host*:

fso = CreateObject("Scripting.FileSystemObject")
FSO.CopyFolder("c:\folder1", "d:\backup\folder1")

*WSH is available for download for Windows 95, and is built into Windows 98 and NT. You'll find it along with more extensive information at Microsoft's Sripting Technologies site.


>This one goes to all you gu-ru's out there
>
>Is there a way to copy files from one directory to another programmatically? I am programming a backup utility for an application.
>
>Thanks
>
>Jim
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Reply
Map
View

Click here to load this message in the networking platform