Ethereal-dev: Re: Re: [Ethereal-dev] Request for Change (etc/hosts on windows)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Thu, 10 Oct 2002 09:44:44 +0200
> Message: 8
> Date: Wed, 9 Oct 2002 08:51:29 -0500 (EST)
> From: "Mark H. Wood" <mwood@xxxxxxxxx>
> Cc: <ethereal-dev@xxxxxxxxxxxx>
> Subject: Re: [Ethereal-dev] Request for Change
> 
> On Tue, 8 Oct 2002, Jason House wrote:
> > \NTROOT\System32\drivers\etc\hosts contains similar functionality to
> > /etc/hosts
> > on my win2k computer \NTROOT = C:\WINNT.  I don't know about non-NT systems,
> > but I would guess a similar path...
> 

Now to make confusion complete:
on Win98 and NT (the two flavours I use), the hosts file must be in different dirs relative to %WINDIR% to take effect. So as far as I remember, on Win98 you have to put the hosts file directly into %WINDIR% (e.g. C:\windows\hosts).
If you want to "install" a hosts file to the proper place, you have to distiguish if you have a Win95 based (95, 98, ME) or a WinNT based (NT4, 2000, XP).

Thanks to funny old Bill!

> The environment variable %WINDIR% points to the top of the Windows tree.
> The default placement of Windows is C:\WINNT in NT 4 and Win2000.  It is
> C:\WINDOWS in Windows 3.1, Win95 (and probably 98 and ME), and WinXP.  I
> don't recall what it is in NT 3.1 or 3.5.
> 
> It's best to expand %WINDIR%, because the install kit will allow you to
> put Windows elsewhere if you really want to.

...or your department wants to put it elsewhere :-(
> 
> -- 
> Mark H. Wood, Lead System Programmer   mwood@xxxxxxxxx
> MS Windows *is* user-friendly, but only for certain values of "user".
> 
> 

______________________________________________________________________________
Wochentlich Gewinnen garantiert! Chance auf Jackpot gewahrt!
WEB.DE Spielgemeinschaften: Jetzt Anteile sichern und dabei sein!