Skip to content

Update Windows hosts file with one click by using a batch file.

Notifications You must be signed in to change notification settings

xplusyi/WindowsHosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Windows Hosts File with a Batch File

1. Overwrite Local Hosts file with Remote one

Save OverWriteHosts.bat on your desktop, and click 'Run As Administrator' in the context menu.

2. Update the GitHub Section Only

Save UpdateGithubSectionOnly.bat on your desktop and click 'Run As Administrator' in the context menu. This batch file will update the content between the markers "### Github Start" and "### Github End" in your original hosts file, or, append to the end if not found the markers. Update Windows hosts file with one click by using a batch file.


Thanks to the project: https://github.com/521xueweihan/GitHub520

About

Update Windows hosts file with one click by using a batch file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published