25 April 2008

For Frequent Hosts File Updaters

If you find yourself constantly modifying your hosts file, and are always irritated about the incessant need to choose the program to edit the file with, try this:

  1. Create a short-cut to your hosts file on your desktop (or wherever).

  2. Right click the hosts file and select properties.

  3. Change the target to something like:

    notepad c:\windows\system32\drivers\etc\hosts

    or, in my case, since editplus is the best text editor ever:

    "C:\Program Files\EditPlus 3\editplus.exe" c:\windows\system32\drivers\etc\hosts

  4. Click OK.

That's it. You're done. Now whenever you want to make a change, just click your shortcut and the hosts file will magically open, ready for editing.




No comments: