4
I want write a batch file that can copy a folder structure. This batch file would copy all folders in the source directory to the destination directory - the files themselves would not be copied.
For example, say there is a folder src
with the following structure:
src
src\a\file1
src\a\file2
src\a\b\file1
src\c
The tool would create a dest
folder like the following:
dest
dest\a
dets\a\b
dest\c
Is it possible to accomplish this task using a batch file?
It copies files too, I only want directory structure to be copied. – Szere Dyeri – 2009-09-26T00:23:45.340
First post is corrected. – Stevoni – 2009-09-26T00:35:35.427
2You can also add the
/E
switch which causes empty directories to be mirrored, too. – Joey – 2009-09-26T00:44:29.9471+1 for a solution that doesn't involve installing 3rd party programs. – RJFalconer – 2009-09-26T01:37:56.450