configChange or query DOSBox settings at runtime; save configs/languages. More information: https://www.dosbox.com/wiki/CONFIG.
CONFIG -writeconf {{path/to/file.conf}}
CONFIG -writelang {{path/to/file.lang}}
CONFIG -securemode
CONFIG -set "cpu cycles={{10000}}"
CONFIG -set "dos ems=off"
CONFIG -get "cpu core"