Hi Eduardo,
You can also do this (much faster I might add) by using the FileSystemObject included in the Windows Scripting Host:
fso = CreateObject("Scripting.FileSystemObject")
FSO.CopyFolder("c:\folder", "d:\Copy_Of_Folder")
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.
>Is there a way to copy a directory with all its content (subdirectories with files inclusive) without knowing the names of the subdirectories with code?
>Eduardo
kenweber
GCom2 Solutions
Microsoft Certified Professional