|
添加hosts 批处理内容:
@echo off
cd /d %~dp0
%1 start "" mshta vbscript:createobject("shell.application").shellexecute("""%~0""","::",,"runas",1)(window.close)&exit
echo 218.93.127.136 pcbeta.com >> C:\WINDOWS\system32\drivers\etc\hosts
echo 218.93.127.136 i.pcbeta.com >> C:\WINDOWS\system32\drivers\etc\hosts
echo 218.93.127.136 bbs.pcbeta.com >> C:\WINDOWS\system32\drivers\etc\hosts
echo HOSTS写入完毕
pause
exit |
|