批处理操作hosts文件

180it 2021-11-18 PM 881℃ 0条
@echo off

SC config Dnscache start= demand
SC start Dnscache

nslookup www.xiongmaodaili.com

attrib -R C:\windows\system32\drivers\etc\hosts
@echo 47.97.243.163 www.xiongmaodaili.com >> C:\windows\system32\drivers\etc\hosts
@echo 47.97.243.206 route.xiongmaodaili.com >> C:\windows\system32\drivers\etc\hosts
attrib +R C:\windows\system32\drivers\etc\hosts
nslookup www.xiongmaodaili.com
netsh interface ip show dns
ping xiongmaodaili.com

)
pause
支付宝打赏支付宝打赏 微信打赏微信打赏

如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!

标签: none

批处理操作hosts文件