HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dosbox — MS-DOS emulator to run legacy DOS applications and games. More information: <https://www.dosbox.com/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
legacydoscommandrundosboxcliemulator

Problem

How to use the dosbox command: MS-DOS emulator to run legacy DOS applications and games. More information: <https://www.dosbox.com/wiki/Usage>.

Solution

dosbox — MS-DOS emulator to run legacy DOS applications and games. More information: <https://www.dosbox.com/wiki/Usage>.

Start DOSBox with default settings:
dosbox


Run a DOS executable located at a specific path:
dosbox {{path/to/executable.exe}}


Mount a folder as C: and run an executable:
dosbox {{path/to/executable.exe}} -c "MOUNT C {{path/to/folder}}"


Start DOSBox in fullscreen mode:
dosbox -fullscreen


Exit DOSBox automatically after running a program:
dosbox {{path/to/executable.exe}} -exit

Code Snippets

Start DOSBox with default settings

dosbox

Run a DOS executable located at a specific path

dosbox {{path/to/executable.exe}}

Mount a folder as C: and run an executable

dosbox {{path/to/executable.exe}} -c "MOUNT C {{path/to/folder}}"

Start DOSBox in fullscreen mode

dosbox -fullscreen

Exit DOSBox automatically after running a program

dosbox {{path/to/executable.exe}} -exit

Context

tldr-pages: common/dosbox

Revisions (0)

No revisions yet.