Secondary batch file hang

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Wanderer
Posts: 1
Joined: 19 Oct 2006 19:09

Secondary batch file hang

#1 Post by Wanderer » 19 Oct 2006 19:24

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

Post Reply