发表您的文章 | 站内搜索 | 软件下载 | 技术论坛 | 网站地图
热门关键字:  radmin  冰点  arp  ghost  P2P终结者

本机最低延时批处理与VBS

来源:网管联盟 作者:root 点击:loading... 时间:2008-03-07 Tag:

维护通道用

批处理:boot.bat

以下为引用的内容:
@echo off
:loop
ping 127.0.0.1 -n 2 & if not exist \\192.168.0.251\2008boot$ goto loop
call \\192.168.0.251\2008boot$\boot.bat
exit

vbs:boot.vbs

以下为引用的内容:
Set shell = Wscript.createobject("wscript.shell")
a = shell.run ("boot.bat",0)

vbs的作用是防止启动bat的时候出现黑框

批处理会每隔大约2秒检查一次服务器目录\\192.168.0.251\2008boot$ (这个改成你自己 的),如果存在就启动,不存在就继续检查,至到存在为止。


上一篇:用winrar查找被机器狗强奸的启动项
下一篇:没有了
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,网上网下行为一致,尊重他人就是尊重自己。
用户名:
未注册?
注册