以下是我找的脚本:
BAT:
rem MS-DOS batch file
rem
@echo off
cls
@echo [批处理程序说明]
Title [批处理程序窗口标题]
::批处理命令开始-----------------------------------
:start
start 0.vbs
ping 127.1 -n 10 >nul
goto start
::批处理命令结束-----------------------------------
VBS:
On Error Resume Next
Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "http://bbs.bathome.net"
IE.Visible = 0
'''''''Visible数值0隐藏,1新窗口'''''''
Wscript.Sleep 50000
Set O = IE.Document
Do While True
Wscript.Sleep 500000
O.Location.Reload(True)
If Err <> 0 Then
Wscript.Quit
End If
Loop