Difference between revisions of "Usage"
From DOSBoxWiki
Jump to navigationJump to searchm |
|||
Line 1: | Line 1: | ||
− | <code>dosbox [name] [-exit] [-c command] [-fullscreen] [-conf | + | == Command Line Parameters == |
+ | <code>dosbox [name] [-exit] [-c command] [-fullscreen] [-userconf] [-conf congfigfilelocation] [-lang languagefilelocation] [-machine machine type] [-noconsole] [-startmapper] [-noautoexec] [-securemode] [-scaler scaler | -forcescaler scaler] [-version] [-socket socket] [-editconf program] [-opencaptures program] [-printconf] [-eraseconf] [-erasemapper]</code> | ||
===Usage=== | ===Usage=== |
Revision as of 18:26, 26 October 2010
Command Line Parameters
dosbox [name] [-exit] [-c command] [-fullscreen] [-userconf] [-conf congfigfilelocation] [-lang languagefilelocation] [-machine machine type] [-noconsole] [-startmapper] [-noautoexec] [-securemode] [-scaler scaler | -forcescaler scaler] [-version] [-socket socket] [-editconf program] [-opencaptures program] [-printconf] [-eraseconf] [-erasemapper]
Usage
name
- If
name
is a directory, DOSBox willl mount the specified directory as the C drive.
Ifname
is an executable, DOSBox will mount the directory ofname
as the C drive, and start executingname
.
-exit
- 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.
-fullscreen
- 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
.
-machine machinetype
- Setup DOSBox to emulate a specific type of machine. Valid choices are: hercules, cga, tandy, and vga (with vga as the default).
-noconsole
(Windows Only)- Start DOSBox without showing the console window, output will be redirected to
stdout.txt
andstderr.txt
. This is useful if DOSBox crashes, since the error messages stored instdout.txt
andstderr.txt
may help the developers fixing the problem.
Notes
- If a
name/ command/ configfile/ languagefile
contains a space in it, put the wholename/ command/ configfile/ languagefile
between quotes ("example"). - In Windows you can also drag directories/files onto the DOSBox executable.
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.