File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes calling batch files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "calling batch files" Watch "calling batch files" New topic
Author

calling batch files

Anandh Ramesh
Ranch Hand

Joined: Dec 15, 2004
Posts: 61
hi

i have a dos batch file that calls a java program. i want to call a second batch file from the java program. when i execute the code, the second batch file is not called. however, if i run the java program independently, i.e., without running the batch file that calls the java program, the second batch file is called and executed perfectly. this just doesn't sound good to me. any solutions???

-Anandh


cheers,<br />Anandh
 
 
subject: calling batch files