This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
Edit Windows hosts file from command line.
License
forrest79/updatehosts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
=== THIS REPOSITORY IS NO LONGER MAINTAINED === UpdateHosts © Jakub Trmota, 2012 (https://forrest79.net) Small utility for add/remove/test host in hosts file written in C# for Windows 95/98/ME/2000/XP/VISTA/7. HOW TO USE: =========== updhosts settings ip hostname1 [hostname2 .. hostnameN] [--comment|-c comment] Settings: --help, -h show this help --add, -a add new host --remove, -r remove host --test, -t test if host exists Note: comment is used only while adding new host HISTORY ======= 2.0.0 [2012-02-17] - Code refactoring, more hostnames can be processed at once, test hostnames... 1.0.0 [2009-02-04] - First public version REQUIREMENTS ============ You need .NET Framework 2 to run this application (http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en). LICENSE ======= UpdateHosts is distributed under New BSD license. See license.txt. https://github.com/forrest79/updatehosts
About
Edit Windows hosts file from command line.