Difference between revisions of "Usage"
m (Protected "Usage" [edit=autoconfirmed:move=autoconfirmed]) |
StonedDwarf (talk | contribs) m (Text formatting) |
||
Line 1: | Line 1: | ||
− | dosbox [name] [-exit] [-c command] [-fullscreen] [-conf configfile] [-lang languagefile] [-machine machinetype] [-noconsole]< | + | dosbox [name] [-exit] [-c command] [-fullscreen] [-conf configfile] [-lang languagefile] [-machine machinetype] [-noconsole] |
− | name < | + | |
− | If name is a directory, DOSBox willl mount the specified directory as the C | + | ===Usage=== |
− | If name is an executable DOSBox will mount the directory of name as the C | + | *<code>name</code> |
− | + | ||
− | -exit < | + | If <code>name</code> is a directory, DOSBox willl mount the specified directory as the C drive.<br /> |
− | DOSBox will exit after name has been executed. | + | If <code>name</code> is an executable, DOSBox will mount the directory of <code>name</code> as the C drive, and start executing <code>name</code>. |
− | + | ||
− | -c command < | + | |
− | Runs the specified command before running name. Multiple commands can be specified. Each command should start with -c | + | *<code>-exit</code> |
− | + | DOSBox will exit after name has been executed. | |
− | -fullscreen < | + | |
− | Starts DOSBox in fullscreen mode. | + | |
− | + | *<code>-c command</code> | |
− | -conf configfile < | + | Runs the specified command before running <code>name</code>. Multiple commands can be specified. Each command should start with <code>-c</code> though. |
− | Start DOSBox with the options specified in configfile | + | |
− | + | ||
− | -lang languagefile < | + | *<code>-fullscreen</code> |
− | Start DOSBox using the language string specified in languagefile. < | + | Starts DOSBox in fullscreen mode. |
− | . < | + | |
− | -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. | + | *<code>-conf configfile</code> |
− | + | Start DOSBox with the options specified in <code>configfile</code>. | |
− | + | ||
− | + | ||
− | + | *<code>-lang languagefile</code> | |
− | < | + | Start DOSBox using the language string specified in <code>languagefile</code>. |
− | + | ||
− | + | ||
− | + | *<code>-machine machinetype</code> | |
− | + | Setup DOSBox to emulate a specific type of machine. Valid choices are: hercules, cga, tandy, and vga (with vga as the default). | |
− | 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. | + | |
− | + | ||
− | + | *<code>-noconsole</code> (Windows Only) | |
+ | Start DOSBox without showing the console window, output will be redirected to <code>stdout.txt</code> and <code>stderr.txt</code>. This is useful if DOSBox crashes, since the error messages stored in <code>stdout.txt</code> and <code>stderr.txt</code> may help the developers fixing the problem. | ||
+ | |||
+ | |||
+ | ===Notes=== | ||
+ | *If a <code>name/ command/ configfile/ languagefile</code> contains a space in it, put the whole <code>name/ command/ configfile/ languagefile</code> 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 <code>c:\atlantis</code> as <code>c:\</code> and run <code>atlantis.exe</code>. Before it does that, it would first mount <code>C:\SAVES</code> as the D drive. |
Revision as of 10:27, 24 May 2010
dosbox [name] [-exit] [-c command] [-fullscreen] [-conf configfile] [-lang languagefile] [-machine machinetype] [-noconsole]
Usage
name
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
.
-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
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.
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.