First post, by GeneralHQ
I have an old game I'd like to run under DosBox from a Windows shell program that I am writing, and I'd like to be able to create a command line from the shell dynamically and pass that command line into the game.
Is there a way for the DoxBox command line to specify not only the game executable and DosBox parameters, but also some command line for the game executable?
Right now, my shell invokes the program with:
dosbox .\MyGame.exe -exit -fullscreen -noconsole
but I'd like to pass MyGame a parameter, such as:
dosbox .\MyGame.exe "MyInfo" -exit -fullscreen -noconsole
Where "MyInfo" is information from my shell program that is passed in as a command line parameter to "MyGame".
The only way I can think of doing it now is by having my shell create a BAT file with ".\MyGame.exe MyInfo" and then having DoxBox invoke the BAT file instead of the program directly, but that solution is less than ideal and may not even work given the nature of my shell.
Am I missing something in the documentation? Ideas?
Thanks.