- 适用于Windows的自动更换hosts批处理程序。
- 支持自定义hosts条目,添加到custom.txt即可在替换hosts后添加到末尾。
- 首次使用请选择1,使用的是国内coding的源以确保能够访问,完成后会添加Github的hosts,这样后续操作就能使用github的源了。
- 选择2使用精简版hosts,保证最低限度的访问。
- 选择3使用完整版hosts,包含最完整的服务。
- Windows XP双击.bat文件运行。为避免权限问题,不要在桌面或C盘运行。
- Win7以上需要右键点击后选择以管理员身份运行。(不过Win10倒是可以直接运行)
- wget.exe重要!用于下载网上的hosts文件,没有它,.bat就无法正常更新hosts了。
-
Notifications
You must be signed in to change notification settings - Fork 0
bobbyliujb/bat_wget_hosts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
enable 3 levels of hosts for custom choice.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published