Copy directory structure without files

=========
QUESTION
———
Can you copy over the directory structure from one folder to another without copying the files in those directories?

 

=========
ANSWER
———
Use XCOPY from the Command Prompt using the /t and /e switches to include empty directories and subdirectories.

See EXAMPLES

 

=========
EXAMPLES
———
xcopy "Q:PRODDATAReports" "C:UsersmyUserDocumentsSubDirSystemsQReports" /t /e

 

=========
APPLIES TO / KEY WORDS
———
Windows Explorer
Directories
Dir
Directory
sub
replicate
copy

 

=========
REF
———
http://www.geekinspired.com/computer-software/copy-directory-structure-without-files-using-xcopy-command/ 

 


http://www.anysitesupport.com/copy-directory-structure-without-files/
http://anySiteHosting.com

By | 2011-07-05T14:23:39+00:00 July 5th, 2011|Computers, Documentation, Microsoft, MS-DOS / Batch, Windows|0 Comments