VOGONS


First post, by jarreboum

User metadata
Rank Member
Rank
Member

Hi,

The command line I'm using to start DOSBox contains both a -conf to follow and a -c to run.
Right now all I'm getting is DOSBox following all the [autoexec] from the custom dosbox.conf, and only after runs the command I put in the initial command line. Basically it's executing -conf before -c. How do I make it executing the command line -c command, then only after follow the [autoexec] script?

I'm basically trying to mount C: via the command line (because it has many variables) and then have the game-specific dosbox.conf [autoexec] do its magic like it has always done before.

Or I could get rid of the -c command if you have a way to pass variables into DOSBox.

Any idea?

Reply 1 of 2, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Are you aware that you can use multiple -c parameters?

Reply 2 of 2, by jarreboum

User metadata
Rank Member
Rank
Member

I am, but I'd rather keep all the game-specific commands in a separate file, not part of the generic, variable-ridden launch script.

I suppose I could make a secondary batch script to run in DOSBox instead of using [autoexec], but then what would be the point of [autoexec]?