level 12
fzlins
楼主
方法一:修改host文件
下载批处理文件后,双击运行即可。下载链接:网盘链接
也可手动制作:
打开记事本复制以下内容:
@echo off
attrib "%windir%\System32\Drivers\etc\hosts" -s -h -r
for /f "tokens=* skip=2" %%i in ('find /v "#世萌" "%windir%\system32\drivers\etc\hosts"') do echo.%%i >>temp
copy /y temp "%windir%\system32\drivers\etc\hosts"
del /q temp
for /f "tokens=* skip=2" %%i in ('find /v "www.internationalsaimoe.com" "%windir%\system32\drivers\etc\hosts"') do echo.%%i >>temp
copy /y temp "%windir%\system32\drivers\etc\hosts"
del /q temp
echo #世萌 >> %windir%\system32\drivers\etc\hosts
echo 216.119.142.169 www.internationalsaimoe.com >> %windir%\system32\drivers\etc\hosts
attrib "%windir%\System32\Drivers\etc\hosts" -s -h -r
pause
/////////////////////////////////////////////////////////////////////////////////
保存文件名为“修改host
.bat”,然后双击运行。
2012年10月08日 05点10分
1
下载批处理文件后,双击运行即可。下载链接:网盘链接
也可手动制作:
打开记事本复制以下内容:
@echo off
attrib "%windir%\System32\Drivers\etc\hosts" -s -h -r
for /f "tokens=* skip=2" %%i in ('find /v "#世萌" "%windir%\system32\drivers\etc\hosts"') do echo.%%i >>temp
copy /y temp "%windir%\system32\drivers\etc\hosts"
del /q temp
for /f "tokens=* skip=2" %%i in ('find /v "www.internationalsaimoe.com" "%windir%\system32\drivers\etc\hosts"') do echo.%%i >>temp
copy /y temp "%windir%\system32\drivers\etc\hosts"
del /q temp
echo #世萌 >> %windir%\system32\drivers\etc\hosts
echo 216.119.142.169 www.internationalsaimoe.com >> %windir%\system32\drivers\etc\hosts
attrib "%windir%\System32\Drivers\etc\hosts" -s -h -r
pause
/////////////////////////////////////////////////////////////////////////////////
保存文件名为“修改host
.bat”,然后双击运行。


