http://www.webmasterworld.com Welcome to WebmasterWorld Guest from 38.103.63.18
register, login, search, glossary, subscribe, help, library, PubCon, announcements , recent posts, unanswered posts
PubCon Media Partner
Home / Forums Index / Microsoft / Microsoft Windows OS Usage - NT - XP - Vista
Forum Library : Charter : Moderators: bill

Microsoft Windows OS Usage - NT - XP - Vista

  
Reseting Host File
Edward_H


#:3134461
 3:17 pm on Oct. 25, 2006 (utc 0)

I thought that I would update the host file to block Tradedoubler adverts awhile ago but I miss being able to use the advert links and I would like to know how to reset the file.

Thanks
Eddie

spinnercee


#:3134724
 6:51 pm on Oct. 25, 2006 (utc 0)

The HOSTS file is read with (and before) each DNS name request, so you don't have to do anything once you change it.

Lines that start with "#" are treated as comments to end-of-line, so just comment out the entries you want to "get through."

In WinNT, XP, 2000 -- the hosts file is found as /WINDOWS/SYSTEM32/DRIVERS/ETC/hosts

and in Win9x/Me it is found as /WINDOWS/hosts

Edit it with WordPad or NotePad (do not let either wrap lines or apply formatting) -- it is tough to open normally since it has no extension, from explorer you have to specify the app each time, or open NotePad and open it from there, or, better yet, create a desktop shortcut that tells NotePad to open the hosts file -- use a target like this: [C:\WINDOWS\SYSTEM32\NOTEPAD.EXE C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS]

Then you can click on it to edit it whenever you like.

 

Home / Forums Index / Microsoft / Microsoft Windows OS Usage - NT - XP - Vista
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of WebmasterWorld Inc.
© WebmasterWorld Inc. / SearchEngineWorld 1996-2008 all rights reserved