VOGONS

Common searches


First post, by Waussie

User metadata
Rank Newbie
Rank
Newbie

Hello everyone,

I just tried a few frontends, and was thinking of creating my own.
I just wonder how some features are to be configured in dosbox.
If anyone could help me out here, cause i couldn't find it in the wiki or docs,
but seem to be implementable because some frontends do configure them.

- Run a dosgame and after it closes, close dosbox aswell.
- Can i configure the -noconsoleflag by default,
for instance place it in the .conf or something?

I thank you for all your help.

Waussie

Reply 1 of 8, by gidierre

User metadata
Rank Member
Rank
Member
Waussie wrote:

- Run a dosgame and after it closes, close dosbox aswell.
- Can i configure the -noconsoleflag by default,

make a batch file, with the -noconsole and -exit commands.

We often forgive those who bore us, but we cannot forgive those whom we bore. (La Rochefoucauld)

Reply 2 of 8, by Waussie

User metadata
Rank Newbie
Rank
Newbie

I use the folowing string in my program:

dosbox.exe -noconsole "%1"

Where %1 is the dosgame executable to run and is variable.

So where do I put the exit statement or that batchfile?

A batchfile like this:

dosbox.exe -noconsole "%1"
exit

Doesn't seem to work!

Also I can't put the exitstatement in the autoexec section of the conf, because dosbox will than close before the game is started.

Reply 5 of 8, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

readme.txt or just readme that comes with Dosbox

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 6 of 8, by dma1968

User metadata
Rank Newbie
Rank
Newbie

I have a problem with -exit.
My batch file is:
dosbox.exe c:\laf1\run.bat -c -exit
run.bat is a file for launch aplicatioon.
I test other options but never run.

The aplication run correct but not exit from DOSBox when program stops.

Thankyou.
dma1968