Hi guys, with help of M23 now i have this script: $Path = GUICtrlRead($FolderInput) $Pre = @TempDir & "\Test.exe" $Command = "-e -p" $Folders= _FileListToArray($Path, '*', 1) $Folders[0] = "@echo off" & @CRLF $fFlag = "" AdlibRegister("Update",333) For $i = 1 To UBound($Folders) - 1 If RunWait(@ComSpec & " /c " & $pre & " " & $command & " " & $Password & " " & '"' & $Path & "\" & $Folders[$i] & '"', @TempDir, @SW_HIDE) = 0 Then Consol