From DOSBoxWiki
Revision as of 01:31, 22 June 2009 by (talk) (reverted edits by IP bumbaclot spammer)
Jump to navigationJump to search

dosbox [name] [-exit] [-c command] [-fullscreen] [-conf configfile] [-lang languagefile] [-machine machinetype] [-noconsole]
If name is a directory, DOSBox willl mount the specified directory as the C: drive.
If name is an executable DOSBox will mount the directory of name as the C: drive, and start executing name.
DOSBox will exit after name has been executed.
-c command
Runs the specified command before running name. Multiple commands can be specified. Each command should start with -c though.
Starts DOSBox in fullscreen mode.
-conf configfile
Start DOSBox with the options specified in configfile.
-lang languagefile
Start DOSBox using the language string specified in languagefile.
-noconsole (Windows Only)
Start DOSBox without showing the console window, output will be redirected to stdout.txt and stderr.txt. This is useful if DOSBox crashes, since the error messages stored in stdout.txt and stderr.txt may help the developers fixing the problem.
-machine machinetype
Setup DOSBox to emulate a specific type of machine. Valid choices are: hercules, cga, tandy, and vga (with vga as the default).

Note: If a name/ command/ configfile/ languagefile contains a space in it, put the whole name/ command/ configfile/ languagefile between quotes ("example").

For example: dosbox c:\atlantis\atlantis.exe -c "MOUNT D C:\SAVES"

This would mount c:\atlantis as c:\ and run atlantis.exe. Before it does that, it would first mount C:\SAVES as the D drive.

In Windows you can also drag directories/files onto the DOSBox executable.