| View previous topic :: View next topic |
| Author |
Message |
shehaal
Joined: 26 Oct 2007 Posts: 1
|
Posted: Fri Oct 26, 2007 6:32 am Post subject: How to exit an application |
|
|
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. |
|
| Back to top |
|
 |
|
|
Vulcano
Joined: 16 Nov 2005 Posts: 14
|
Posted: Mon Dec 10, 2007 9:12 pm Post subject: |
|
|
If you run a programm dont use
"program.exe"
use
"start program.exe" |
|
| Back to top |
|
 |
sKurt
Joined: 23 Jul 2007 Posts: 32
|
Posted: Tue Dec 11, 2007 3:09 pm Post subject: Re: How to exit an application |
|
|
| 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 |
|
| Back to top |
|
 |
|