DOSBox-X provides a virtual read-only driveDocumentation 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.
Z: that is always present and contains all of its built-in utility programs. These programs are embedded directly in the DOSBox-X executable — no installation is required and they cannot be accidentally deleted. They are organised into subdirectories on Z: such as Z:\SYSTEM\, Z:\DOS\, Z:\BIN\, and Z:\DEBUG\. This page documents the most important programs you will use during regular emulation.
Disk & Drive Management
MOUNT
Mount a host directory or physical device as a DOS drive inside DOSBox-X. This is one of the most frequently used programs — it is how you make your real files accessible from inside the emulator.- Examples
- Options
MOUNT with no arguments lists all currently mounted drives and their types.
IMGMOUNT
Mount a disk image file (floppy, hard disk, or CD-ROM) as a DOS drive. Supports raw.img, .ima, .iso, .cue/.bin pairs, and more.
- Examples
- Options
When mounting multiple floppy images at once (disk-swapping sets), pass them all on one command line. You can then swap between them using the DOSBox-X menu or hotkey.
IMGMOUNT with no arguments shows all currently mounted image drives and their status.
IMGMAKE
Create a new blank disk image file suitable for use withIMGMOUNT. Supports a range of standard floppy formats and arbitrary hard disk sizes.
- Examples
- Disk Types
- Options
IMGSWAP
Swap between disk images in a multi-image set that was loaded viaIMGMOUNT.
BOOT
Boot from a disk image file or from an emulated drive. Use this to run operating systems that require booting from a floppy or hard disk image (e.g., bare DOS, Windows 3.x booters, or custom OS images).- Examples
- Options
Configuration
CONFIG
Read or write DOSBox-X configuration values at runtime, or save the current configuration to a file. This is the primary way to change emulator settings from within the DOS shell without restarting.- Examples
- Options
Memory & Compatibility
LOADFIX
Allocate a block of conventional memory below the 64 KB boundary to work around programs that incorrectly assume low memory is free. This is often needed for old DOS games that crash because DOSBox-X’s environment data occupies the lowest memory addresses.- Examples
- Options
Drive Utilities
RESCAN
Force DOSBox-X to refresh its internal directory cache for a mounted drive. Use this after adding, removing, or modifying files from the host side (outside of DOSBox-X) while the drive is mounted./A rescans all mounted drives at once.
LABEL
Set or change the volume label of a mounted drive.Keyboard & Input
KEYB
Change the active keyboard layout. DOSBox-X includes built-in support for a wide range of international keyboard layouts using the standard two- or three-letter country codes.- Examples
- Common Layout Codes
KEYB with no arguments displays the current keyboard layout and code page.
MOUSE
Control mouse capture and driver behaviour inside DOSBox-X.| Option | Description |
|---|---|
/U | Uninstall the DOSBox-X internal mouse driver |
/V | Display mouse driver version information |
Display & Output
MODE
Configure display settings, code pages, and serial port parameters. Mirrors the functionality of the classic DOSMODE command.
MIXER
Adjust the volume levels and settings of DOSBox-X’s internal audio mixer from the command line.System Information
INTRO
Display the DOSBox-X introduction screen with basic usage instructions and tips. Useful for new users.INTRO with a topic name shows specific help pages.
HELP
Display the built-in help listing all available shell commands (also accessible as a shell command directly).Text Mode Utilities
DOSBox-X includes several small programs onZ:\TEXTUTIL\ for switching the display into different text video modes:
| Program | Mode |
|---|---|
80X25.COM | 80×25 text mode |
80X43.COM | 80×43 text mode (EGA) |
80X50.COM | 80×50 text mode |
80X60.COM | 80×60 text mode |
132X25.COM | 132×25 wide text mode |
132X43.COM | 132×43 wide text mode |
132X50.COM | 132×50 wide text mode |
132X60.COM | 132×60 wide text mode |
DCGA.COM | Double-scanned CGA mode |
Debug & Development Utilities
VFRCRATE — Video frame rate control
VFRCRATE — Video frame rate control
Control or query the emulated video frame rate.
VESAMOED — VESA mode editor
VESAMOED — VESA mode editor
View and edit VESA BIOS extension (VBE) mode parameters. Available when a SVGA or VESA machine type is active.
A20GATE — A20 line control
A20GATE — A20 line control
Control the A20 address line gate, used for compatibility testing with memory managers and extended memory code.
NMITEST — NMI test
NMITEST — NMI test
Trigger a Non-Maskable Interrupt for hardware-level debugging.
BIOSTEST — BIOS test
BIOSTEST — BIOS test
Run a diagnostic test against the emulated BIOS.
INT2FDBG — INT 2Fh debugger
INT2FDBG — INT 2Fh debugger
Enable logging of INT 2Fh multiplex interrupt calls to help debug TSR and network redirector interactions.
Additional Z: Drive Executables
Beyond the programs above, DOSBox-X bundles a set of standard DOS utilities as pre-built executables embedded in theZ: drive. These are found in Z:\DOS\, Z:\BIN\, and related directories:
- DOS Utilities (Z:\DOS\)
- General Utilities (Z:\BIN\)
- System Programs (Z:\SYSTEM\)
| Program | Description |
|---|---|
DEBUG.EXE | Classic DOS debug utility for machine-code debugging |
EDLIN.EXE | Line-by-line text editor (classic DOS editor) |
EDIT.COM | Full-screen text editor |
FIND.EXE | Search files for text strings |
MEM.EXE | Display conventional, extended, and expanded memory usage |
MOVE.EXE | Move files from one location to another |
SORT.EXE | Sort input lines and output the result |
XCOPY.EXE | Copy files and directory trees |
REPLACE.EXE | Replace files in a target directory from a source |
APPEND.EXE | Append directories to the search path for data files |
FC.EXE | Compare two files and display differences |
COMP.COM | Compare two files byte-by-byte |
DELTREE.EXE | Delete a directory tree recursively |
CHOICE.COM | Interactive user-choice prompt |
TREE.COM | Display directory tree structure |
FCBS.COM | Set the number of FCB (File Control Block) entries |
FILES.COM | Set the maximum number of open files |
LASTDRIV.COM | Set the last drive letter available |
DEVICE.COM | Load a device driver |
BUFFERS.COM | Set the number of disk buffers |
SYS.COM | Transfer DOS system files to a disk (non-PC98 only) |
FORMAT.EXE | Format a disk (non-PC98 only) |
DEFRAG.EXE | Defragment a disk (non-PC98 only) |
DISKCOPY.EXE | Copy floppy disk to floppy disk |
PRINT.COM | Background print spooler |
KEYB.COM | Change the active keyboard layout |
MODE.COM | Configure display, serial, and parallel ports |
MOUSE.COM | Control mouse capture and driver behaviour |
LOADFIX.COM | Allocate low memory to fix compatibility issues |
LABEL.COM | Set or change a drive volume label |
The exact set of programs available on
Z: depends on the machine type selected and the DOSBox-X build configuration. Some utilities (such as VESAMOED.COM) only appear when an appropriate machine type is active.