eine frage bei diesen code() sucht er nur nach einer "bin" datei ich möchte das er eine "exe" datei durch sucht wie mache ich das pls help
#RequireAdmin
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Global $File = "clientpath.ini"
Global $Pfad
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Universial Starter", 409, 96, -1, -1, -1, BitOR($WS_EX_TOOLWINDOW,$WS_EX_WINDOWEDGE))
$Group1 = GUICtrlCreateGroup("Part", 8, 8, 393, 49)
$Input1 = GUICtrlCreateInput("", 16, 24, 337, 21)
$Button1 = GUICtrlCreateButton("Suchen", 360, 24, 40, 25, 0)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Run = GUICtrlCreateButton("Starten", 8, 64, 85, 25, 0)
$Button2 = GUICtrlCreateButton("Beenden", 96, 64, 85, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While Sleep(10)
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$Pfad = FileOpenDialog("Durchsuchen..",@ScriptDir,"(*)")
GUICtrlSetData($Input1,$Pfad)
Case $Button2
ProcessClose("KAXD.exe")
If $Pfad <> "" Then
$EXE = StringSplit($Pfad, "\")
If IsArray($EXE) Then
$EXE = $EXE[$EXE[0]]
ProcessClose($EXE)
EndIf
EndIf
Case $Run
$Ort = GUICtrlRead($Input1)
Run($Ort)
EndSwitch
WEnd