How to check if bat file execution stopped running in a cmd or not?


#1

I have to run a multiple .bat files so how can I check whether a particular .bat file executed successfully?Please Help me in this.
Thanks


#2

You can drop the start cmd /k and just use CALL

CALL D:\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\bin\run.bat
CALL batch1.bat
CALL batch2.bat
CALL batch3.bat


#3

Hi, I am using start process so in start process where i have to write this (CALL D:\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\bin\run.bat). Right now i am passing a path of bat file in the the path field and argument field is blank.