Assuming that you have a folder tree like:
C:\SAMPLE> and subfolders including files like
TEST1>
TEST2>
Sample 2>
Sample 3>
TEST3>
and you want to copy only the directory structure except files.
1. Click Start - Run - type CMD and press Enter key.
2. At Command Prompt type the following command (as an example
XCOPY C:\SAMPLE D:\SAMPLE /T /E
/T - Copy Directory and Subdirectories except files
/E - Includes the empty directories as well.
Suppose, if you want to copy the SAMPLE folder on the same C drive with a
new name then you can use:
XCOPY C:\SAMPLE C:\SAM /T /E
Hope this help, let us know!