Copy (Reproduce) Directory Structure Only - No Files
Posted on 2004-11-12
We have a desire to copy the directory structure *only* for a given directory, but none of the files. The method needs to be scriptable (DOS command, VBscript, executable?) - No GUI tricks.
In other words, I have a directory that contains other directories and files. I want to duplicate the directory structure/hierarchy of that folder in another location without bringing the files along with.
What is the easiest way to do this? Is there a way to do it in Windows (2000) without third party addons? VBscript? Examples?
A batch file or VBscript would be preferred, although a small third-party executable would be okay.