Hi,
I have a batch script i.e. p.bat in which I call perl scripts along with other commands e.g.
when I execute the above script the perl scripts gets executed in a sequence and finally a java program. How can I do that if test1.pl executed successfully then and only then execute test2.pl and so on. If any errors in executing any of the commands in the batch-file I don't want to proceed the execution. Is there a way to handle this in a batch file. Thanks
I have a batch script i.e. p.bat in which I call perl scripts along with other commands e.g.
Code:
.....
.....
test1.pl
test2.pl
test.pl
java Print
....
....
when I execute the above script the perl scripts gets executed in a sequence and finally a java program. How can I do that if test1.pl executed successfully then and only then execute test2.pl and so on. If any errors in executing any of the commands in the batch-file I don't want to proceed the execution. Is there a way to handle this in a batch file. Thanks