Hi all I am new (today) to machine script. This is something I put together and will be trying tomorrow. cd /d "C:\path" Start Filename.bat cd /d "H:\path" Start Program.exe :CHECK ping -n 10 localhost 1> NUL TASKLIST /v /fi "IMAGENAME eq program.exe" 2>&1 > NUL IF ERRORLEVEL 1 GOTO CHECK taskkill /f /im cmd.exe /t If all goes well, filename.bat will run. Then a program will run. CMD will then check for program.exe until not found (exited), then close CMD. In this case program.exe does not work with start /wait I am wondering if the check will slow down my machine if run for a few hours. I am using Windows 7 x64, SSD, 16GB RAM and AMD 8350. Considering inserting a small timeout, but seems silly. Is there a way to slow down the check, but still close immediately if program.exe is closed?