维护通道用
批处理: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
|
以下为引用的内容: |
vbs的作用是防止启动bat的时候出现黑框
批处理会每隔大约2秒检查一次服务器目录\\192.168.0.251\2008boot$ (这个改成你自己 的),如果存在就启动,不存在就继续检查,至到存在为止。
天下网吧·网吧天下