I would have thought that it would be much simpler to create a simple .bat/.cmd file
:redo @notepad & goto redo
Just substitute your program path/name for notepad.
In reply to Re: Check if a process is running on Windows
by BrowserUk
in thread Check if a process is running on Windows
by davidj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |