Copy over directory structure without files

XCOPY is a powerful command with multiple options. Use XCOPY to copy over a directory and it’s sub-folders without the files.

View XCOPY options

XCOPY /?

The following XCOPY copies over just the directory structure without the files in the folder.

C:\Temp>XCOPY c:\Temp\ZipTest C:\Temp\NewZipTest /T /E

Advertisements