Skip to content

Instantly share code, notes, and snippets.

@nottrobin
Created February 13, 2014 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nottrobin/8971487 to your computer and use it in GitHub Desktop.
Save nottrobin/8971487 to your computer and use it in GitHub Desktop.
edit hosts batch command
runas /netonly /user:administrator "%windir%\notepad.exe %windir%\system32\drivers\etc\hosts"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment