Home > Sys Admin, Windows > Shortcut to hosts file on Windows

Shortcut to hosts file on Windows

This one was shown to me a while back but I needed to use it today and remembered how much easier it is.

To quickly access the hosts file go Start -> Run -> Type drivers -> Ok.

This will bring up the folder before the hosts file, just double click into the etc directory from there.

The other method is to create a new shortcut on your Start Menu or Desktop with the following as the target

%windir%\system32\notepad.exe "c:\WINDOWS\system32\drivers\etc\hosts"

Two easy methods to access your hosts file.

Categories: Sys Admin, Windows Tags: ,
  1. No comments yet.
  1. No trackbacks yet.