I don't remember the syntax, but the command "System" can be used to return an errorlevel. When your program finishes, the batch file will check the errorlevel. If it's greater than or egual to 1, it would send control back to the beginning of the file, which would start your program agian.
Comments
:restart
MyProgram
If errorlevel 1 then goto restart
Change the line to read:
If L$ = "Start" then System
I don't remember the syntax, but the command "System" can be used to return an errorlevel. When your program finishes, the batch file will check the errorlevel. If it's greater than or egual to 1, it would send control back to the beginning of the file, which would start your program agian.