Re: need to modify lmhosts file for all pc's in network
- From: jeff.nospam@xxxxxxxx (Jeff Cochran)
- Date: Fri, 05 Aug 2005 10:54:09 GMT
On Sat, 30 Jul 2005 15:14:57 -0400, "David H. Lipman"
<DLipman~nospam~@Verizon.Net> wrote:
>From: "Greg Mohr" <GregMohr@xxxxxxxxxxxxxxxxxxxxxxxxx>
>
>| That would be great if it were only that simple. I have been told that some
>| of the PC's may have had the file modified already and I can't risk blowing
>| those entries away. So my only solution is to try and append a line to the
>| file that already exists on each PC.
>|
>| Greg
>
>The following will concatenate one file to another using;
>copy file1 + file2 file3
>
>Where file3 is the concatenated version of file1 and file2
>
>UPDATE.CMD
>----------------------
>@echo off
>copy "%windir%\system32\drivers\etc\lmhosts" "%windir%\system32\drivers\etc\lmhosts.old"
>Copy /y c:\lmhosts + "%windir%\system32\drivers\etc\lmhosts.old"
>"%windir%\system32\drivers\etc\lmhosts"
>
>
>Just an idea to keep it simple.
And as an aside, this is exactly the way I've done it in the past.
(Okay, way far past, since we were updating WFW systems....).
Jeff
.
- References:
- need to modify lmhosts file for all pc's in network
- From: Greg Mohr
- Re: need to modify lmhosts file for all pc's in network
- From: David H. Lipman
- Re: need to modify lmhosts file for all pc's in network
- From: Greg Mohr
- Re: need to modify lmhosts file for all pc's in network
- From: David H. Lipman
- Re: need to modify lmhosts file for all pc's in network
- From: Greg Mohr
- Re: need to modify lmhosts file for all pc's in network
- From: David H. Lipman
- Re: need to modify lmhosts file for all pc's in network
- From: Greg Mohr
- Re: need to modify lmhosts file for all pc's in network
- From: David H. Lipman
- need to modify lmhosts file for all pc's in network
- Prev by Date: Re: Hybernation on laptops
- Next by Date: Printer Port Cleanup
- Previous by thread: Re: need to modify lmhosts file for all pc's in network
- Next by thread: Re: Gather disk info on a domain
- Index(es):
Relevant Pages
|