Link to home
Start Free TrialLog in
Avatar of dcollis
dcollisFlag for Germany

asked on

Copying directories

How do I copy complete directories (Including files in subdirectories and retaining directory structure). There must a better method than mkdir , and filecopy - very tedious.
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Éric Moreau
You can use the File System Object for this. Set a reference to «Microsoft scripting runtime» and type this:
FileSystemObject.CopyFolder "c:\mydocuments\letters\*", "c:\tempfolder\"
Avatar of dcollis

ASKER

Thanks, perfect
Avatar of mcrider
mcrider

Thanks for the points! Glad I could help!


Cheers!®©