wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling batch files
 
Similar Threads
java program that can run a .class file in msdos, is this possible?
Setting the classpath
runnning a java program via a batch file
help regarding batch file
Thread Related Problem