How to set a timeout for a process under Windows 7?

start yourprogram.exe
timeout /t 60
taskkill /im yourprogram.exe /f

Leave a Comment