Need help creating a batch file that will...

June 7, 2011 at 13:50:49
Specs: Windows XP, 2GB
Need help creating a batch file that will continually try to open a program until it is successful and then stop trying to run the program.

We have a program at work that "X" amount of users can access at the same time due to the limited amount of licenses we have. Basically it's first come, first serve.. and when the last license is used everyone not using this application has to wait until a license is freed up.


See More: Need help creating a batch file that will...

Report •

#1
June 7, 2011 at 14:38:26
This is what I have so far:

c:
cd \
cd "Program Files\Q360Prod\"
Q360.exe


Report •

#2
June 8, 2011 at 09:24:22
If Q360.exe returns a condition code (usually 0 for success, 1 or higher for failure) the following script may work

cd /D "C:\Program Files\Q360Prod"
:LOOP
Q360.exe || goto :LOOP


Report •
Related Solutions


Ask Question