I want to replicate the folder structure from a location in another location. Also, I want only the structure which is one level deep to be replicated. Is there a way to do it?
I'm running Windows 7 Professional 64 bit.
feedback
|
This question came from our site for professional and enthusiast programmers.
|
You can use XXCOPY with the /T and /DL switches.
| |||
|
feedback
|
|
From a command prompt:
Make sure to quote the destination path to take into account any folders with spaces in the name. | |||
|
feedback
|
|
If you don't want to use third party programs, the windows 7 native XCOPY command can also duplicate a folder structure.
will create the directory structure including empty folder but without copying the files. | |||
|
feedback
|