Q:

How to copy a directory structure without copying files?

I have a folder with a lot of subfolders and files in them. Is there a way to copy the folder and subfolders directory structure without copying the files they contain, using cmd or powershell?

A:

If you want to copy empty folders as well. 

xcopy C:\Folders D:\Folders /t /e

A:

Yup. XCOPY
XCopy source {destination}  /t

example   
xcopy C:\Folders D:\Folders /t

more about xcopy can be found here http://ss64.com/nt/xcopy.html

A:

Although XCOPY still works, Windows Vista and later include ROBOCOPY which has more features.  General syntax for copying a folder tree (including empty folders) without the files is:
robocopy "A:\Source folder" "B:\Destination folder" /e /xf *

