Mario Netto’s Tech blog

My notes from the software world

Archive for the ‘DOS’ Category

Copy over directory structure without files

Posted by Mario on February 19, 2009

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

Posted in DOS | Tagged: | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.