Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Make yourself a script file called 'RenHosts.bat'[1] and place it somewhere convenient, I personally have mine pinned to the start menu. This allows you to "easily" turn your modified HOSTS file on/off.

You'll need to right click and run the script as Administrator since it is accessing your System32 folder.

[1]http://winhelp2002.mvps.org/hostsfaq.htm#Rename



Linux here.

I've got a set of scripts for updating and toggling hosts files.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: