$hmdpaht = IniRead(@ScriptDir & "\config.sec","ph","path","")
$okhmdpaht = FileExists($hmdpaht) ;查看文件是否存在
If $okhmdpaht = 0 Then
MsgBox(262208,"","hmd哭不存在,检测配置")
Else
;MsgBox(262208,$hmdpaht,"")
$hmd11 = IniRead($hmdpaht,"hmd","hmd11","")
$hmd12 = IniRead($hmdpaht,"hmd","hmd12","")
$hmd13 = IniRead($hmdpaht,"hmd","hmd13","")
$hmd21 = IniRead($hmdpaht,"hmd","hmd21","")
$hmd22 = IniRead($hmdpaht,"hmd","hmd22","")
$hmd23 = IniRead($hmdpaht,"hmd","hmd23","")
$hmd31 = IniRead($hmdpaht,"hmd","hmd31","")
$hmd32 = IniRead($hmdpaht,"hmd","hmd32","")
$hmd33 = IniRead($hmdpaht,"hmd","hmd33","")
$hmd41 = IniRead($hmdpaht,"hmd","hmd41","")
$hmd42 = IniRead($hmdpaht,"hmd","hmd42","")
$hmd43 = IniRead($hmdpaht,"hmd","hmd43","")
$hmd51 = IniRead($hmdpaht,"hmd","hmd51","")
$hmd52 = IniRead($hmdpaht,"hmd","hmd52","")
$hmd53 = IniRead($hmdpaht,"hmd","hmd53","")
$hmd61 = IniRead($hmdpaht,"hmd","hmd61","")
$hmd62 = IniRead($hmdpaht,"hmd","hmd62","")
$hmd63 = IniRead($hmdpaht,"hmd","hmd63","")
$Gethmd = "hmd123456"
If $Gethmd = $hmd11 Then
_xt()
ElseIf $Gethmd = $hmd12 Then
_xt()
ElseIf $Gethmd = $hmd13 Then
_xt()
ElseIf $Gethmd = $hmd21 Then
_xt()
ElseIf $Gethmd = $hmd22 Then
_xt()
ElseIf $Gethmd = $hmd23 Then
_xt()
ElseIf $Gethmd = $hmd31 Then
_xt()
ElseIf $Gethmd = $hmd32 Then
_xt()
ElseIf $Gethmd = $hmd33 Then
_xt()
ElseIf $Gethmd = $hmd41 Then
_xt()
ElseIf $Gethmd = $hmd42 Then
_xt()
ElseIf $Gethmd = $hmd43 Then
_xt()
ElseIf $Gethmd = $hmd51 Then
_xt()
ElseIf $Gethmd = $hmd52 Then
_xt()
ElseIf $Gethmd = $hmd53 Then
_xt()
ElseIf $Gethmd = $hmd61 Then
_xt()
ElseIf $Gethmd = $hmd62 Then
_xt()
ElseIf $Gethmd = $hmd63 Then
_xt()
Else
MsgBox(262208,"","没找到")
EndIf
EndIf
Func _xt()
MsgBox(262208,"提示","有相同hmd")
EndFunc
谢谢,两位大侠的指点.