Anatoliy,
Thank you for this.
-mark
==============
>> 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])
>