I am writing a quick batch program and want to know how to have it check and see if a certain process has completed, before it runs. I'm in Windows 2000.
For instance, I want to tell the .bat to check and see if "ntbackup.exe" is running on the PC. If it is running, then exit out of the batch file. If it is not running, then do commands xxx yyy zzzz.