Page 1 of 1

Secondary batch file hang

Posted: 19 Oct 2006 19:24
by Wanderer
I will put a simplified form of what I am running into:

Batch1:
call Batch2.bat
if errorfrombatch2.log send email to admin
call Batch3.bat
if errorfrombatch3.log send email to admin

Batch2.bat:
call Batch4.bat
if errorfrombatch4.log create errorfrombatch2.log

Batch3.bat:
echo Batch3

Batch4.bat:
REM something hangs here
REM Doesn't create .log file and doesn't return



consequently does not complete the rest of Batch1.bat
I need some way of continuing the rest of Batch1.bat