I have a batch file,
bat1.bat
bat2.bat
but it stops at the end of bat1
any clues?
This can happen if bat1.bat stops abnormally (other than just running to the end, like calling exit) and you can work around this by using a fresh cmd.exe to run each bat file:
start /b /wait bat1.bat
start /b /wait bat2.bat
You could omit it for the last one if there won't follow commands in you bat file.