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

CONFIG — Change or query DOSBox settings at runtime; save configs/languages. More information: <https://www.d

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

Problem

How to use the CONFIG command: Change or query DOSBox settings at runtime; save configs/languages. More information: <https://www.dosbox.com/wiki/CONFIG>.

Solution

CONFIG — Change or query DOSBox settings at runtime; save configs/languages. More information: <https://www.dosbox.com/wiki/CONFIG>.

Write current config to file (local drive):
CONFIG -writeconf {{path/to/file.conf}}


Write current language strings to file:
CONFIG -writelang {{path/to/file.lang}}


Enable secure mode (disables MOUNT/IMGMOUNT/BOOT):
CONFIG -securemode


Set a property (e.g., CPU cycles):
CONFIG -set "cpu cycles={{10000}}"


Set property (e.g., disable EMS):
CONFIG -set "dos ems=off"


Get property value (stored in %CONFIG%):
CONFIG -get "cpu core"

Code Snippets

Write current config to file (local drive)

CONFIG -writeconf {{path/to/file.conf}}

Write current language strings to file

CONFIG -writelang {{path/to/file.lang}}

Enable secure mode (disables MOUNT/IMGMOUNT/BOOT)

CONFIG -securemode

Set a property (e.g., CPU cycles)

CONFIG -set "cpu cycles={{10000}}"

Set property (e.g., disable EMS)

CONFIG -set "dos ems=off"

Context

tldr-pages: dos/CONFIG

Revisions (0)

No revisions yet.