07-16-2012, 08:35 AM
Here is a simple batch example:
@echo off
echo Basic Batch Connector restarter
tarttasklist /nh /fi "imagename eq Connector.exe" | find /i "Connector.exe" >nul && (
rem "Connector.exe" found
) || (
echo "Connector.exe" not found
start Connector.exe
)
timeout /t 200 /nobreak
goto start
pause

