$Liste = FileOpen("C:\daten\Autoit\Liste.txt",0) $Zeile = 1 While 1 $Ziel = FileReadLine($Liste,$Zeile) If $Ziel = "" Then ExitLoop EndIf ;MsgBox(4,"",$Ziel) FileCopy("C:\Daten\AutoIt\Olaf.exe","C:\Daten\AutoIt\exe\"&$Ziel&".exe") Run("C:\Daten\AutoIt\exe\"&$Ziel&".exe "&$Ziel) $Zeile = $Zeile +1 If $Zeile = 11 or $Zeile = 21 Then ProcessWaitClose($Ziel&".exe") EndIf WEnd FileClose($Liste)