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