This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes Programatically Running a script file in DOS via Java Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Programatically Running a script file in DOS via Java Application" Watch "Programatically Running a script file in DOS via Java Application" New topic
Author

Programatically Running a script file in DOS via Java Application

Tumaini Kilimba
Greenhorn

Joined: Nov 15, 2006
Posts: 16
Dear all,
am playing around with Spring Roo, specifically running java apps from their roo scripts. Normally this is done by going onto the command shell, navigating to the directory where the *.roo file is, and running the command . This is all done manually. However now I want to run the roo script but from another java application. How can I I get the java application to run the roo script command automatically?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Programatically Running a script file in DOS via Java Application