File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes How to execute multiple batch file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "How to execute multiple batch file ?" Watch "How to execute multiple batch file ?" New topic

How to execute multiple batch file ?

Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62
How to execute multiple batch file in a sequential manner?
For example, I having 3 batch files like a.bat,b.bat and c.bat
I am calling all the batch file in runbatch.bat file. The execution was happening only first batch file and terminate the process. After completion of first batch file, the control doesn't come back to the runbatch.bat and not execute the remaining portion.
How to solve it ? How to run all the batch file in a single batch file....?

Thanks and Regards
Chandra Mohan
Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214

I have no java certifications. This makes me a bad programmer. Ignore my post.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

I hate to say this but, your name does not comply with the Javaranch naming guidelines which can be found at
A first and last name seperated with a space is required.
please register again with a valid name.

Visit my download page
I agree. Here's the link:
subject: How to execute multiple batch file ?
It's not a secret anymore!