jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Running Batch Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Running Batch Files

William Reilly

Joined: Jan 08, 2002
Posts: 15
Hi there,
i have to run/call a batch file from my program that will run another java program. Eg It is an installer that after installing the files must call the bat file to start the application. Is there a way to call the file?Any help would be great
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Please do not cross post your questions to multiple forums. Most of the visitors here read in many of the forums and it is frustrating to see the same question repeated over and over. You have a better chance of getting a correct and timely answer if you post it to the most appropriate forum instead of using the shotgun approach and hoping you'll hit something.
Since you already have an answer in the intermediate forum I'm closing this thread here.

It is sorta covered in the JavaRanch Style Guide.
subject: Running Batch Files
Similar Threads
calling batch files
java program that can run a .class file in msdos, is this possible?
calling a batch file in java
Running a Java Program from Command Prompt
Thread Related Problem