Code: Select all
BB.BAT has this
CALL "!emulator - setup.bat"
CALL "AAA.BAT"
if AAA.BAT runs before "!emulator - setup.bat" finishes producing the files that AAA.BAT needs, it causes an error, and the errors happen a lot
how do i make AAA.BAT wait till "!emulator - setup.bat" finishes
my fiddling options are
@EXIT /B : although i dont know how to use it clearly
@EXIT
start /wait
timeout T/1 : takes long for my taste, but i can accept it, but XP can not run timeout command but i will take it for win10 for now.
CALL "!emulator - setup.bat"
pause
CALL "AAA.BAT"
using PAUSE is unacceptable, but using pause never failed me
purpose : XP needs to delete all emulators and Win10 needs one in the same directory