How to exit an application

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

How to exit an application

Post by shehaal » Fri Oct 26, 2007 6:32 am

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: 16
Joined: Wed Nov 16, 2005 10:18 pm

Post by Vulcano » Mon Dec 10, 2007 9:12 pm

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 » Tue Dec 11, 2007 3:09 pm

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

Post Reply