Shortcut to My Hosts File
- November 7, 2008 9:18 AM
- General
- Comments (0)
I don't know how often you need to edit your hosts file, but it seems like something I have to do on a daily basis, and its a pain. First the file is buried in Windows subdirectories, so you have to find the thing, and then when you do, it doesn't have an extension, so you constantly have to tell Windows what to open it with. Today, I finally managed to make a shortcut to launch it in Notepad.
- Create a new shortcut.
- Paste the following into the location:
%windir%\notepad.exe %windir%\system32\drivers\etc\hosts - Use the wizard to name it, and be happy.
That should work for almost everyone, unless your host file is located somewhere else.