VOGONS


First post, by KentRieske

User metadata
Rank Newbie
Rank
Newbie

I developed and market MS-DOS based engineering software using BALERXE. It runs nicely on Windows XP and about the same in DOSBox 0.74 on Windows 7 32-bit. I am still testing. I modified the options autoexec to mount, change drive to c, run my application, and go fullscreen. This works perfectly. I exit by typing EXIT manually.
Question:
I want my customers to automatically return to the Windows desktop when quitting my application. I read about the dosbox -exit command in the manual but I don't understand where it goes in the options file. All of the guesses fail to work. Please explain it in detail. Do not simply refer me back to the manual.
Thanks for your assistance.
Kent

Reply 1 of 4, by rcblanke

User metadata
Rank Oldbie
Rank
Oldbie

Simply put 'exit' in the end of your [autoexec] section.

Reply 2 of 4, by KentRieske

User metadata
Rank Newbie
Rank
Newbie

I just tried putting exit at the end of the [autoexec] section but it did NOT work. After quitting my application I have a DOSBox full screen with a C:\> prompt. I still must type EXIT manually to quit DOSBox.

Reply 3 of 4, by rcblanke

User metadata
Rank Oldbie
Rank
Oldbie

use CALL yourapp.bat instead of yourapp.bat

Reply 4 of 4, by KentRieske

User metadata
Rank Newbie
Rank
Newbie

EXCELLENT !!!!
It works perfectly.
I double click the DOSBox icon which launches DOSBox, my application, and goes full screen. Now when I quit my application, DOSBox automatically exits to the Windows desktop. GREAT !!!
Now, all I have to do is change the icon on the DOSBox shortcut to my application icon or make a new shortcut.
Thank you very much.
Kent