Page 1 of 1

copy

Posted: 28 Nov 2011 01:14
by glob5
I have a text file,folder-list.txt,with the content:
C:\temp\ABC\myfolder1\myfolder2
C:\temp\CDE\myfolder2\myfolder3
C:\temp\GHR\myfolder3\myfolder7
C:\temp\KHJ\myfolder4\myfolder5
and some other lines:
need to copy the listed folders with overwrite to a remote path:
\\remote-path\subf\ABC\myfolder1\myfolder2
\\remote-path\subf\CDE\myfolder2\myfolder3
etc.
in another batch file, copy the folders but copy only certain files
that has certain patterns:
copyme1, copyme2. Do not copy the other files. :?: