Avatar of padas6
padas6
Flag for India asked on

Logparser dll coping in to Multiple Server

Hi ,

I Need to copy the lagparser.dll file into multile Server, please suggest how do we achive this one through batch file.
Windows Server 2003

Avatar of undefined
Last Comment
padas6

8/22/2022 - Mon
kevinhigg

This should be pretty straightforward; you could use a for loop in batch to do this:

for /f %%i in (servers.txt) do copy logparser.dll \\%%i\c$\

Open in new window


Servers.txt would contain the names of the machines that you want to deploy to (one per line), you'd update logparser.dll with the path / name to the file that you want to copy and update the destination path to reflect the appropriate location.  Enjoy!
padas6

ASKER
Hi,

thanks for the support, can you complet the bact file , I have below information as a source & destination.

\\udb\it_drive\log\LogParser.dll  - Source  ( File copied in a central location)
C:\WINDOWS\system32 - Destination ( for all Server)
ASKER CERTIFIED SOLUTION
kevinhigg

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
padas6

ASKER
Command was worked.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck