Copy (Reproduce) Directory Structure Only - No Files

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.
LVL 8
hendridmAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
XCOPY will do the trick.

XCOPY /T /E Source Destination

for more details on XCOPY, type XCOPY /? at a command prompt.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hendridmAuthor Commented:
Did the trick.  Not sure why I didn't notice that before :P  Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.