不是办法的办法
t
1:
- ping 127.0.0.1 -n [3*需要的秒速]
- shutdown -l
- ::这样就是依靠 ping 输出延迟而完成注销...
复制代码 2:- <div><span style="color: rgb(51, 51, 51); font-family: " microsoft="" yahei",="" 微软雅黑,="" arial,="" 宋体,="" sans-serif;="" font-size:="" 16px;="" text-align:="" justify;"="">timeout /t [需要的秒数] /NOBREAK</span></div><div><div style="text-align: justify;"><font color="#333333" face="Microsoft Yahei, 微软雅黑, arial, 宋体, sans-serif"><span style="font-size: 16px;">shutdown -l</span></font></div>::主要就是靠Visitar及更高版本的timeout命令来实现</div><div>::XP及更低不适用
- </div>
复制代码 3:
- <div><span style="color: rgb(51, 51, 51); font-family: " microsoft="" yahei",="" 微软雅黑,="" arial,="" 宋体,="" sans-serif;="" font-size:="" 16px;="" text-align:="" justify;"="">echo createobject("scripting.filesystemobject").deletefile(wscript.scriptfullname) >>%temp%\VBScriptWait.vbs</span></div><div><span style="color: rgb(51, 51, 51); font-family: " microsoft="" yahei",="" 微软雅黑,="" arial,="" 宋体,="" sans-serif;="" font-size:="" 16px;="" text-align:="" justify;"="">echo wscript.sleep 【改成秒数*1000】 >>%temp%\VBScriptWait.vbs</span></div><div><span style="color: rgb(51, 51, 51); font-family: " microsoft="" yahei",="" 微软雅黑,="" arial,="" 宋体,="" sans-serif;="" font-size:="" 16px;="" text-align:="" justify;"="">start /wait %temp%\VBScriptWait.vbs</span></div><div><span style="color: rgb(51, 51, 51); font-family: " microsoft="" yahei",="" 微软雅黑,="" arial,="" 宋体,="" sans-serif;="" font-size:="" 16px;="" text-align:="" justify;"="">del /q </span><span style="color: rgb(51, 51, 51); font-family: " microsoft="" yahei",="" 微软雅黑,="" arial,="" 宋体,="" sans-serif;="" font-size:="" 16px;="" text-align:="" justify;"="">%temp%\VBScriptWait.vbs</span></div><div>shutdown /l</div><div>::依靠VBS来延迟,通用</div>
复制代码
|