Skip to content

Instantly share code, notes, and snippets.

@superkarn
Last active September 4, 2017 18:38
Show Gist options
  • Save superkarn/5930ac9d33bf3c9a94ebfdbd5e0ce9ad to your computer and use it in GitHub Desktop.
Save superkarn/5930ac9d33bf3c9a94ebfdbd5e0ce9ad to your computer and use it in GitHub Desktop.
This will open the hosts file using notepad so that you can edit it.
# This will open the hosts file using notepad so that you can edit it.
# Open PowerShell or command line with Administrator privileges
# Run the following command
notepad "C:\WINDOWS\system32\drivers\etc\hosts"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment