@echo off tasklist | find "iexplore.exe" > null IF %ERRORLEVEL% NEQ 1 GOTO EXIT start iexplore.exe EXIT exit 0