VOGONS


First post, by Rod Primitive

User metadata
Rank BANNED
Rank
BANNED

I'm having a problem, I think. 😒

Whenever I run DOSBox and playing a game that can only be run with a BAT file, the exit command I've put into the shortcut won't comply. I have the command in the autoexec section of the .conf file.

Here's an example:

@echo off
mount c ".."
c:
cls
KEEN7.bat
exit

When I exit the game, DOSBox is still running and I see that little box with out-dated adverts for Commander Keen. Usually, DOSBox should terminate on itself here. But it doesn't.
I'm using the latest version of Daum (27 jan 2014). Could that be the culprit?

Reply 1 of 2, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

Try using "call keen7.bat" to execute the keen7.bat and then return to you batch file.
Using "keen7.bat" directly means that it doesn't return to your batch file.

Reply 2 of 2, by Rod Primitive

User metadata
Rank BANNED
Rank
BANNED

EDIT: Thanks. It terminates correctly now.