First post, by tricky_trev
There seems to be a problem with the way DOSBox handles batch files.
Possible problem areas: Drive cache, file open/close, or goto label function
shell.cpp, EmptyCache(); could be involved.
I have an application that is started by a batch file, and that application modifies this batch file when a menu item is clicked, then re-executes that batch file. The problem is that the menu item is not executed "now" but on the next menu selection, meaning that it is executed with a lag of 1 menu click.
In normal DOS, and with other DOS emulators it works fine.
Here is the simple batch file. Lines 5,6,7 are modified depending on the menu item.
@echo off
: start
PTSSHELL
SET COLORS=blue:white
echo leaving PTS-Shell ...
goto end
rem
goto start
: end
Any suggestions?
Trev.