$path="e:\Install\_IcoFX\IcoFX.exe" $tick=10 If Not FileExists($path) Then Exit $executable=StringRegExp($path, ".*\\(.*\.exe)",1) If @error Then Exit $executable=$executable[0] While 1 If Not ProcessExists($executable) Then Run($path) Sleep($tick*1000) WEnd