Main > Software Forum

SOLUTION? - Does anyone know how to automatically restart a program if closed??

<< < (2/2)

Banacek:

--- Quote from: Havok on October 28, 2006, 11:47:19 pm ---That doesn't fire off multiple instances of the executable?

--- End quote ---

If it does try this:

Code:
@ECHO OFF
:START
start /wait goldentee.exe
GOTO START

Bill Mote:
It shouldn't.  If memory serves you can launch a process from a batch file with @call some.exe.  That will launch the .exe in a separate command process and continue your batch.  The batch as provided will launch the game and won't continue to the next step until the .exe is done (or crashed) ;)

dot

Navigation

[0] Message Index

[*] Previous page

Go to full version