set __loc=%1 shift start /wait %__loc%\msie20.exe if NOT ERRORLEVEL 1 goto done start /wait %__loc%\IENTLM.EXE :done exit