下面是bat的代码
@echo off
if "%1"=="h" goto begin
mshta vbscript:createobject("wscript.shell").run(""%0"h",0)(window.close)&exit
:begin
ping -n 6 127.1
>%temp%\t00tt.vbs echo wscript.sleep 60000
for /l %%i in (1,1,4) do %temp%\t00tt.vbs
cd /d "F:\校网认证"
start ishare_user.exe
%temp%\t00tt.vbs
cd /d "F:\迅雷下载\Program"
start Thunder.exe
for /l %%i in (1,1,2) do %temp%\t00tt.vbs
cd /d "F:\RAYSource"
start RaySource.exe
for /l %%i in (1,1,50) do %temp%\t00tt.vbs
del %temp%\t00tt.vbs
shutdown -s -t 1
下面是vbs的代码
set ws=CreateObject("Wscript.Shell")
wscript.sleep 240000
ws.Currentdirectory="F:\校网认"
ws.Exec "ishare_user.exe"
wscript.sleep 60000
ws.Currentdirectory="F:\迅雷下载\Program"
ws.Exec "Thunder.exe"
wscript.sleep 130000
ws.Currentdirectory="F:\RAYSource"
ws.Exec "RaySource.exe"
wscript.sleep 3200000
ws.run "shutdown -s -t 3"