# 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

Last Comment

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\$\


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!

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)
kevinhigg