Copy folders without file contents

If you have a folder full of sub-folders that contain some files and you want to create a new folder with the same sub-folder names, but without the files that are contained in the 2008 folders You should open command prompt and use the command xcopy with /t switch to copy the directory structure only without data.

Note: \t switch does not include empty directories. For empty directories you should add another switch \e with \t to xcopy command.