First post, by ADDiCT
- Rank
- Oldbie
I'm trying to automate some stuff with the help of Windows CMD-Files (=batches). I basically want to start DOSBox with two different .conf files (one containing the basic DOSBox config, the other an additional [Autoexec]-section with certain commmands). Additionally i'd like to pass a "set"-command via the "-c" function.
The command line would look like this:
dosbox.exe -conf dosbox.conf -conf "x:\somedir\dosbox autoexec.conf" -c "set variable=value"
This doesn't work as expected. Both .conf-files are "executed", but the "set"-command is ignored. I've tried removing the ""s around the second .conf filename and using a filename without spaces, but the "set"-command is still ignored. I've also tried using only one .conf file, but that doesn't work as expected, either.
Is there an explanation for this? Reading the readme, i had assumed that i can use multiple .conf files and "-c" arguments on the command line. Am i wrong with that assumption? Or could this be a quoting/parsing problem of the Windows "shell"?