回复 a000001
已改
flyinnet9 发表于 2015-9-22 09:49
目前我将全部域名整合到批处理之中 ,代码如下- for /f "skip=8 delims=" %%i in ('type %0') do echo %%i>>list.txt
-
- if exist %temp%\$ del /q %temp%\$
- for /f "delims=" %%i in (%systemroot%\system32\drivers\etc\hosts) do echo %%i>>%temp%\$
- for /f "delims=" %%a in ('findstr /e /v /g:"%temp%\$" list.txt') do echo %%a>> %systemroot%\system32\drivers\etc\hosts
- del /q list.txt
- del /q %temp%\$
-
- 127.0.0.1 211.94.190.80
- 127.0.0.1 advstat.xunlei.com
- 123.87.86.5 biz5.sandai.net
- 527.66.13.125 cknum.sandai.net
- 110.45.215.113 cl.kankan.xunlei.com
- 127.0.0.1 float.sandai.net
- 127.0.0.1 mcfg.sandai.net
- 180.70.134.154 mtips.xunlei.com
- 127.0.0.1 pubstat.sandai.net
- 216.58.221.74 recommend.xunlei.com
- 127.0.0.1 wy.xunlei.com
- 110.45.229.148 buy.safe.xunlei.com
复制代码 测试未完 不知结果会如何
先来回覆进度一下给大家 |