In a batch file I put the following lines:

copy \\server\share\hosts \\computer\C$\windows\system32\drivers\etc /y

/y says to overwrite the host file

Going by memory... will give you something to go by..

M


--------------------------------------------
Matt Smeltzer - CNA 5.1, Net+
Network Specialist
Halifax Regional School Board
msmelt...@hrsb.ns.ca
(902) 464-2000 ext 2280


-----Original Message-----
From: tech-geeks-boun...@tech-geeks.org
[mailto:tech-geeks-boun...@tech-geeks.org] On Behalf Of Mike Oliveri
Sent: September-27-10 12:45 PM
To: Tech-Geeks Mailing List
Subject: Re: [tech-geeks] hosts file deployment

PCs? You should be able to access them through the C$ share and copy the
file to each machine.

In My Computer address bar, go to \\machinename\C$ 

Then browse to the folder. Once you're in the folder you can just
replace machinename with the next machine's name and get right to the
folder.

Mike


On Sep 27, 2010, at 10:39 AM, Pam wrote:

> Geeks,
> Is there an easy way to deploy a new hosts file to my client machines?
> 
> Thanks,
> Pam
> 
> -- 
> "We are a product of the choices we make, not the circumstances that
> we face." ~ Roger Crawford
> "The price of greatness is responsibility." ~ Sir. Winston Churchill
> | Subscription info at http://www.tech-geeks.org |

| Subscription info at http://www.tech-geeks.org |
| Subscription info at http://www.tech-geeks.org |

Reply via email to