Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 695 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 695 Bytes

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