Global $inipath = @ScriptDir & "\update.ini"
If @error Then
Exit
$Read=StringSplit(IniRead($inipath, "配置信息", "分区信息", ""), ",")
Func Search($Read)
$HostName= StringSplit(IniRead($inipath, $Read, "机器列表", ""), ",")
for $i=0 to ubound($HostName)-1
If @ComputerName=$HostName[$i] Then
Sleep(4000)
run("Notepad.exe")
EndFunc
Next