copy

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
glob5
Posts: 34
Joined: 23 Nov 2010 00:47

copy

#1 Post by glob5 » 28 Nov 2011 01:14

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. :?:

Post Reply