-
here are 2 files i wrote to make it easier...well i dont know how much easier it makes things but i had fun doing it.
USE"
hostc: enter "hostc badsitename.com" in the run box and it writes "127.0.0.1 badsitename.com" to "c:\winnt\system\drivers\etc\hosts"
hosts: writes the same thing but using a console interface. it also allows you edit hosts or check to see if you've already blocked a server.
i suppose you could just use a batch file:
host.bat
__________________
@echo 127.0.0.1 %1 >>c:\winnt\system\drivers\etc\hosts
-----------------------------
this would be used the same way hostc is used. in the RUN box or at a command prompt enter "host microsoft.com". As long as you put the file in your path.
-
the hosts file also helps on high traffic days. if you add you favorit sites to it with their actual ip addys you skip the step of using a name server to get the ip addy so your pages load faster. this is especially usfull when NS's are under DDoS attack.
-
I would suggest u get a AV software if u don't have any or quickly get a update it seems like your comp has Qhosts virus