File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.

I agree. Here's the link:
subject: Running Batch Files
It's not a secret anymore!