Hi,

    Why don't you try by executing the shell, and passing your bat file as a
parameter to it. By example in NT

    String command = "start doit.bat";
    p = java.lang.Runtime.getRuntime().exec(command);


-----Original Message-----
From: Christian Hamann Linares [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 1:34 PM
To: [EMAIL PROTECTED]
Subject: Execute .bat file and SQLJ


Hi All
Can you help me about.. how i can execute a .bat file with java?
and someone knows about SQLJ.. i would like use sqlj because i need recieved
one object since a Store Procedure, one java object.. can you help me of
that
thanks for all
atte
Christian hamann

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to