Page 1 of 1

copy folders....

Posted: 20 Aug 2014 00:16
by glob5
I need a batch file to copy the C:\MyFolder\MySubFolder1\... and all its sub directories to location like \\rmt-srv1\dir1\MySubFolder1\...

Re: copy folders....

Posted: 20 Aug 2014 07:20
by foxidrive
This will create a mirror copy:

Code: Select all

robocopy "C:\MyFolder\MySubFolder1" "\\rmt-srv1\dir1\MySubFolder1" /mir

Re: copy folders....

Posted: 29 Aug 2014 05:54
by Samir
You can also use:

Code: Select all

xcopy SOURCE DESTINATION /f/r/e/s/h/k/y/d/c/v