Where Does DOSBox Store Its Config?
DOSBox keeps its settings in a versioned conf file in a user folder. The file controls video and audio behavior plus autoexec commands.
Last updated
DOSBox creates a text config file named dosbox plus a version number, for example dosbox-0.74-3.conf. Editing this file changes default behavior for all sessions started with that build.
You can also generate a fresh file from inside DOSBox and place custom files in the working folder for portable use. The paths below cover default installs on Windows and Linux.
Where DOSBox stores this, by platform
C:\Users\<username>\AppData\Local\DOSBox\dosbox-<version>.conf
<username> is your Windows account name. <version> matches the installed release such as 0.74-3. Use the Start Menu shortcut or type config -writeconf to locate the active file. A custom conf in the game folder overrides defaults when passed on the command line.
/home/<username>/.dosbox/dosbox-<version>.conf
<username> is your Linux login name. <version> matches the installed release. Newer staging builds may use /home/<username>/.config/dosbox instead, so check that folder if no file exists under .dosbox. File is plain text and can be edited with any editor.
Frequently asked questions
How do I create a new DOSBox config file?
Start DOSBox and enter config -writeconf dosbox.conf in the prompt. The command writes a fresh file to the current folder which you can copy to the default location.
Can I use a separate config per game?
Yes. Keep a conf file in each game folder and start DOSBox with that file as an argument. Game specific settings then leave the global file untouched.
Notice an outdated path? Let us know.