<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/ DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=180,private" />
</head>

<card id="read" title="南+ South Plus">

<p>

<b>回复:</b> 上p站的方法

<br/><br/>#56  <small>[ragnarok1990 10-10 0:52]</small><br/>
感谢大佬的教学


<br/><br/>#57  <small>[zharui8 10-10 2:26]</small><br/>
@echo off<br />mode con lines=30 cols=60<br />%1 mshta vbscript:CreateObject(&quot;Shell.Application&quot;).ShellExecute(&quot;cmd.exe&quot;,&quot;/c %~s0 ::&quot;,&quot;&quot;,&quot;runas&quot;,1)(window.close)&amp;&amp;exit<br />cd /d &quot;%~dp0&quot;<br />:main<br />cls<br />color 1f<br />echo.请选择使用：<br />echo.<br />echo. 1.输1修改hosts<br />echo.<br />echo. 2.按2恢复hosts<br />echo.-----------------------------------------------------------<br />if exist &quot;%SystemRoot%\System32\choice.exe&quot; goto Win7Choice<br />set /p choice=请输入数字并按回车键确认:<br />echo.<br />if %choice%==1 goto host DNS<br />if %choice%==2 goto CL<br />cls<br />&quot;set choice=&quot;<br />echo 输入有误，请重新选择<br />ping 127.0.1 -n &quot;2&quot;&gt;nul<br />goto main<br />:Win7Choice<br />choice /c 12 /n /m &quot;请输入相应数字：&quot;<br />if errorlevel 2 goto CL<br />if errorlevel 1 goto host DNS<br />cls<br />goto main<br />:host DNS<br />cls<br />color 1f<br />copy /y &quot;hosts&quot; &quot;%SystemRoot%\System32\drivers\etc\hosts&quot;<br />ipconfig /flushdns<br />echo.-----------------------------------------------------------<br />echo.<br />echo 好啦~<br />echo.<br />goto end<br />:CL<br />cls<br />color 1f<br />@echo 127.0.0.1 localhost &gt; %SystemRoot%\System32\drivers\etc\hosts<br />echo hosts已恢复初始<br />echo.<br />goto end<br />:end<br />echo 按任意键退出<br />@Pause&gt;nul<br />新建一个文件夹，在文件夹内：<br />把LZ的hosts复制到txt里面，保存，重命名去掉.txt的后缀<br />把以上内容复制到个txt里面，保存后改后缀为.bat<br />运行bat，会自动要求管理员权限，按照提示操作可以备份原版hosts并替换，同理可以用这个bat恢复原来<br />有效解决无权限和不习惯自己备份的…… [s:701]


<br/><br/>#58  <small>[zyw8888 10-10 4:23]</small><br/>
感谢老司机了 [s:699]


<br/><br/>#59  <small>[hany10yi 10-10 7:23]</small><br/>
膜拜技术帝


<br/><br/>#60  <small>[5987cx 10-12 10:51]</small><br/>
我也是WIN7....为什么修改完保存说我没有权限?


</p>

<p><small><a href="read.php?tid=332231&amp;page=1">&#60;&#60;</a> <a href="read.php?tid=332231&amp;page=10">10</a> <a href="read.php?tid=332231&amp;page=11">11</a> <b>12</b> <a href="read.php?tid=332231&amp;page=13">13</a> <a href="read.php?tid=332231&amp;page=14">14</a></small><input type="text" name="page" size="3" format="*N" /> <do type="accept" label="GO"><go href="read.php?tid=332231&amp;" method="post"><postfield name="page" value="$(page)" /></go></do><small><a href="read.php?tid=332231&amp;page=18">&#62;&#62;</a> (12/18)</small></p>

<p><a href="post.php?action=reply&amp;tid=332231">发表回复</a> <a href="post.php?fid=8">发表文章</a><br />
<a href="list.php?fid=8">主题列表</a> <a href="index.php?prog=cate">版块列表</a></p>

<p>

<anchor>返回<prev/></anchor> <a href="index.php">首页</a><br/>

<a href="index.php?prog=login">登录</a>

</p>
<p><br/><small><b>PHPWind</b> V7.0</small></p>
</card></wml>
