views:

838

answers:

2

Hi all,

How do you copy a directory, subfolders and it's files? CopyFile doesn't allow wildcards, MoveFileEx works but the source directory is of course, "moved" not actually "copied"

Thanks...

+2  A: 

Use SHFileOperation, see here

Jack
The first link is broken.
mxp
what a shame... removed the broken link.
Jack
A: 

Thanks... here's a better way though... simple and easy... http://www.codeproject.com/KB/files/alexfileoperations.aspx

Owen