I wrote a batch file to download and merge into the local hosts file on Windows.
Save following code in a bat file on your desktop and click 'Run As Administrator' in the context menu.
1. Update Part of the Hosts File
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.
I wrote a batch file to download and merge into the local hosts file on Windows. Save following code in a bat file on your desktop and click 'Run As Administrator' in the context menu.
1. Update Part of the Hosts File
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.
2. Simply overwrite the hosts with remote one.
Please visit this repo for the batch files. https://github.com/baskgithub/WindowsHosts