VOGONS


Looping autoexec

Topic actions

First post, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

I was testing Windows 3.x installations on CVS and stumbled over this nice loop. I wanted to load the windows generated autoexec.bat in dosbox.conf's autoexec section and wrote:
[autoexec]
# Lines in this section will be run at startup.
mount c c:\doswin
autoexec.bat

Because I forgot to have it first change drive to c: I got a nice loop there. Apparently adding autoexec.bat (without pointing to an actual file) to the autoexec section makes the dosbox execute the autoexec section and thus it loops infinitly 😀

Reply 1 of 1, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

any batch file looping will hang dosbox 😀
it is even a bug report on sf.net

Water flows down the stream
How to ask questions the smart way!