
Quote: Originally Posted by
raghs
Can you please let me know how to block a website in Windows 7. I tried this "c:\windows\system32\
drivers\etc\hosts" & add the website which i want to block at the end,it is working with XP but not working with 7.
I use the hosts file extensively just as I did in Win98 (after getting the file to be editable). It works exactly the same. You can only block the full name of the site (all the stuff between "http://" and the ".com" or ".net" etc.). For example, to block doubleclick there are hundreds of lines like this:
127.0.0.1 ad.doubleclick.net #[MVPS.Criteria]
127.0.0.1 ad-g.doubleclick.net
127.0.0.1 ad2.doubleclick.net
127.0.0.1 ad.3ad.doubleclick.net
127.0.0.1 ad.3au.doubleclick.net
Provided by MVPS:
Blocking Unwanted Parasites with a Hosts File