How to exit an application

Convert your BATch files into EXEcutable format in one click.
shehaal
Posts: 1
Joined: Fri Oct 26, 2007 6:25 am

How to exit an application

Post by shehaal »

Hi there,

I've just downloaded QBFC and converted a batch file into an executable. The batch determines the current drive, uses SUBST to assign it to another drive letter, and starts a menu application on a usb drive.

When I run the compiled executable, it continues running in the background after it has finished doing everything. How can I get it to quit once it launches the menu program?

Thanks,
Stuart.
Vulcano
Posts: 17
Joined: Wed Nov 16, 2005 10:18 pm

Post by Vulcano »

If you run a programm dont use
"program.exe"

use
"start program.exe"
sKurt
Posts: 32
Joined: Mon Jul 23, 2007 5:37 am

Re: How to exit an application

Post by sKurt »

shehaal wrote:Hi there,


When I run the compiled executable, it continues running in the background after it has finished doing everything. How can I get it to quit once it launches the menu program?

Thanks,
Stuart.

Try EXIT as the last command