2026-02-18 06:55:01 -07:00
|
|
|
# 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"`
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
- Get property value (stored in `%CONFIG%`):
|
2026-02-18 06:55:01 -07:00
|
|
|
|
|
|
|
|
`CONFIG -get "cpu core"`
|