|
Answer» Hi guys,
Im just wanting to make my life easier in the job im doing.
Currently we get alot of hassle from the msxml5.dll file becoming corrupt and we need to do is rename the CURRENT and replace the file with a working copy.
Just wondering if a batch file could do this?
So for example: - \c$\Program Files\Common Files\Microsoft Shared\OFFICE11
MSXML5.DLL > renames to > MSXML5.OLD
and replaces it with a working copy from my machine: - \c$\Program Files\Common Files\Microsoft Shared\OFFICE11
Any ANSWERS appreciated CODE: [Select]@echo off ren "<REMOTE COMPUTER NAME>\c$\Program Files\Common Files\Microsoft Shared\OFFICE11\MSXML5.DLL" MSXML5.OLD copy "C:\Program Files\Common Files\Microsoft Shared\OFFICE11\MSXML5.DLL" "<REMOTE COMPUTER NAME>\c$\Program Files\Common Files\Microsoft Shared\OFFICE11\" Hi thanks for the FAST reply,
I have just tried it and it does reaname the effected .dll file on the remote computer however it does not replace it with a working copy from my machine.
Unless im doing this wrong: -
@echo off ren "\\000000\c$\Program Files\Common Files\Microsoft Shared\OFFICE11\MSXML5.DLL" MSXML5.OLD copy "\\000001\Program Files\Common Files\Microsoft Shared\OFFICE11\MSXML5.DLL" "\\000000\c$\Program Files\Common Files\Microsoft Shared\OFFICE11\"
Thanks again Your copy command is wrong.
Code: [Select]copy "C:\Program Files\Common Files\Microsoft Shared\OFFICE11\MSXML5.DLL" "\\000000\c$\Program Files\Common Files\Microsoft Shared\OFFICE11\"Batcher many thanks, managed to get it right in the end
|