How do I use a batch copy to update files?
Posted
by Aaron
on Stack Overflow
See other posts from Stack Overflow
or by Aaron
Published on 2010-03-12T17:01:41Z
Indexed on
2010/03/12
18:07 UTC
Read the original article
Hit count: 242
copy-paste
|batch
Hello,
I need help writing a batch file to update templates on a database. Basically, all our clients have their own folder, with multiple templates inside. Due to the computer illiteracy of my office (sigh), there's no real better way to fix this. However, I need a way to update those templates in a batch. For instance
\\SERVER\New Client Template Folder\Correspondence\Transmittal Letter.WPD
is updated. I then need to copy it to:
\\SERVER\Client Files\Client 1\Correspondence;
\\SERVER\Client Files\Client 2\Correspondence;
...etc. Essentially, I need to copy to \\SERVER\Client Files\\*\\
, and I need to make it a batch file that I can train someone else to use whenever I leave this job. How can I do that?
Thanks.
© Stack Overflow or respective owner