eyeball226: I added exit after the weird character and it still works. Also, Worms United's batch file didn't have any weird character at the end but it still stopped DOSBox from executing the exit command at the end of the Autoexec.
I think perhaps DOSBox doesn't return to the Autoexec after running a batch file.
Qbix: That is correct, but this is the behaviour DOSBox should do.
If you want to return to autoexec.bat, then you need to CALL dragon.bat
This is how DOS works and thus DOSBox as well.
Ah, thank you so much for that explanation. I did not realize that the lines in [autoexec] are executed as if they were in the "AUTOEXEC.BAT". I always thought DOSBOX would execute them like from the command line, one after the other.
May I suggest renaming [autoexec] to [AUTOEXEC.BAT] in a future version to emphasize this difference? Oh wait, that would make previous config files and frontends incompatible, nevermind then.