I need to copy two files on startup from the network to the local machine

I have two files that need to be copied every morining from a machine, that is on the network (the drive is shared but not mapped), to several other machines on the network. is it possible for me to add this to a bat file or will I have to create vb scirpt and place it in the startup folder. that said, I have no idea what the script sytax should be.
mayur_raghaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Place the following in a batch file:

for /f "tokens=1" %%a in (computerlist.txt) do (
copy "\\server\share\path\sourcefile.1" "\\%%a\share\path\"
copy "\\server\share\path\sourcefile.2" "\\%%a\share\path\"
copy "\\server\share\path\sourcefile.3" "\\%%a\share\path\"
)

If you can copy the whole Directory, then use:
for /f "tokens=1" %%a in (computerlist.txt) do copy /y "\\server\share\path\*.*" "\\%%a\share\path\"

Where computer list is a file that ONLY contains computer names, one per line, for example:

sales1
sales2
sales3
hr1
hr3
accting11
accting17
testpc
bobspc
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
And of course, schedule the batch file in Scheduled tasks on one 2000 or XP to run at the desired time.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.