#include <Process.au3>
While 1
dim $1
$1 = IniRead("bt.ini","配置","文件","NotFound");最后的参数必须是NotFound
If $1<>"" Then
_RunDOS($1)
MsgBox('','',$1)
Sleep(10000)
Else
Sleep(20000)
EndIf
WEnd
While 1
$Config=".exe"
$Config=".bat"
$Config=".vbs"
$Config=".com"
$Config=".txt"
$Config=".html"
$iniver=IniRead("bt.ini","Config","文件","")
If not $Config=$iniver then
Sleep(20000)
EndIf
dim $1
$1 = IniRead("bt.ini","Config","文件","")
_RunDOS($1)
WEnd