DOSBox-X presents you with a DOS command prompt the moment it launches, but to run your own programs you need to tell it where to find them by mounting a host folder as a virtual DOS drive. This quickstart walks you through launching DOSBox-X, setting up a working configuration file, mounting a directory, navigating the DOS shell, and running a program — all in a few straightforward steps.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/joncampbell123/dosbox-x/llms.txt
Use this file to discover all available pages before exploring further.
Before You Begin
Make sure DOSBox-X is already installed on your system. If not, see the Installation page for platform-specific instructions.Launch DOSBox-X
Start DOSBox-X using the method appropriate for your platform:You will see the DOSBox-X window open with a
- Windows
- Linux (Flatpak)
- macOS
- DOS
Double-click the DOSBox-X shortcut on your Desktop or Start Menu, or right-click a folder in Windows Explorer and choose Open with DOSBox-X if you enabled shell context menus during installation.
Z:\> prompt and a drop-down menu bar at the top. The Z: drive is an internal virtual drive that holds DOSBox-X’s built-in utilities.Create or Locate a Configuration File
DOSBox-X reads its configuration from a file called
dosbox-x.conf. On startup, DOSBox-X searches for this file in the following order:- The current working directory (the folder from which DOSBox-X was launched)
- The user configuration directory (platform-specific — for example
%APPDATA%\DOSBox-Xon Windows or~/.config/dosbox-xon Linux)
dosbox-x.conf in your preferred working directory:The
[autoexec] section contains DOS commands that DOSBox-X executes automatically at startup. Adjust the path in mount c to point to wherever you store your DOS software. On Windows, use a backslash path such as C:\Users\you\dosgames.You can generate a fully commented configuration file from within DOSBox-X by running
config -wc dosbox-x.conf at the DOS prompt. This writes every available option with its description to the file.Mount a Host Folder as a DOS Drive
If you did not set up an Replace After running the command you should see:
[autoexec] section, you can mount a folder manually from the DOSBox-X shell. The MOUNT command maps a host directory to a DOS drive letter.- Windows
- Linux / macOS
C:\Users\you\dosgames with the full path to your DOS games or applications folder.Switch to the Mounted Drive
After mounting, switch to the new drive by typing its letter followed by a colon:The prompt will change to
C:\>, showing you are now working inside your mounted folder.Navigate to and Run a Program
Use standard DOS commands to navigate to your program and launch it:Lists the contents of the current directory. Then navigate into a subfolder:Finally, run the program by typing its executable name (with or without the
.EXE or .COM extension):DOS is case-insensitive —
game.exe, GAME.EXE, and Game.Exe all work the same way.Keyboard Shortcuts
DOSBox-X uses a host key for shortcuts that affect the emulator itself rather than the guest DOS system.| Platform | Host Key |
|---|---|
| Windows | F11 |
| Linux / macOS / Other | F12 |
| Shortcut | Action |
|---|---|
| Host + F | Toggle fullscreen mode |
| Host + Pause | Pause / resume emulation |
| Ctrl + F10 | Unlock / lock the mouse cursor |
| Alt + Pause | Break into the built-in debugger |
| Alt + F12 (Mac) | Break into the built-in debugger |
Using the GUI Menu Bar
DOSBox-X includes a drop-down menu bar at the top of the window — a major feature not found in the original DOSBox. You can use it to:- Mount and unmount drives — via the Drive menu
- Change machine and video settings — via the Video menu
- Control emulation speed and CPU type — via the CPU menu
- Save and load states — via the Main menu (up to 100 save slots)
- Open the graphical configuration tool — via Main → Configuration tool
- Capture screenshots or video — via the Capture menu
If the menu bar is not visible, you can toggle it with the
showmenu option in the [sdl] section of your config file, or by pressing Host + Escape.Sample Minimal Configuration File
Here is the sampledosbox-x.conf shown earlier, with comments explaining each setting:
Common machine= values and when to use them
Common machine= values and when to use them
| Value | Use Case |
|---|---|
pc98 | NEC PC-98 Japanese DOS software |
cga | Very early CGA-only DOS games |
tandy | Tandy 1000 games with enhanced graphics and sound |
svga_s3 | General purpose — most DOS games and applications |
vgaonly | Windows 3.x and standard VGA software |
svga_et4000 | Some specific SVGA-dependent titles |
Next Steps
Now that you have DOSBox-X running and a program launched, explore these resources to get the most out of your setup:DOSBox-X Wiki
Comprehensive documentation covering configuration, per-game tips, Windows 9x setup, and more.
Configuration Reference
Full documentation of every configuration option available in dosbox-x.conf.
Feature Highlights
Deep-dive overview of DOSBox-X’s unique features compared to standard DOSBox.
Issue Tracker
Report bugs or compatibility issues, or search for known workarounds.