Difference between revisions of "Usage"
From DOSBoxWiki
Jump to navigationJump to search| StonedDwarf (talk | contribs) m (Text formatting) | |||
| Line 1: | Line 1: | ||
| − | + | <code>dosbox [name] [-exit] [-c command] [-fullscreen] [-conf configfile] [-lang languagefile] [-machine machinetype] [-noconsole]</code> | |
| ===Usage=== | ===Usage=== | ||
| − | + | ;<code>name</code>: If <code>name</code> is a directory, DOSBox willl mount the specified directory as the C drive.<br /> 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>. | |
| − | |||
| − | |||
| + | ;<code>-exit</code>: DOSBox will exit after name has been executed. | ||
| − | |||
| − | |||
| + | ;<code>-c command</code>: Runs the specified command before running <code>name</code>. Multiple commands can be specified. Each command should start with <code>-c</code> though. | ||
| − | |||
| − | |||
| + | ;<code>-fullscreen</code>: Starts DOSBox in fullscreen mode. | ||
| − | |||
| − | |||
| + | ;<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). | ||
| − | |||
| − | |||
| − | + | ;<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. | |
| − | |||
| − | 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. | ||
Revision as of 04:53, 30 September 2010
dosbox [name] [-exit] [-c command] [-fullscreen] [-conf configfile] [-lang languagefile] [-machine machinetype] [-noconsole]
Usage
- name
- If nameis a directory, DOSBox willl mount the specified directory as the C drive.
 Ifnameis an executable, DOSBox will mount the directory ofnameas 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-cthough.
- -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.txtandstderr.txt. This is useful if DOSBox crashes, since the error messages stored instdout.txtandstderr.txtmay help the developers fixing the problem.
Notes
- If a name/ command/ configfile/ languagefilecontains a space in it, put the wholename/ command/ configfile/ languagefilebetween 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.
