Greetings,
Check out the class java.lang.Runtime
(http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html)
Specifically, Runtime.getRuntime().exec(java.lang.String).
Cheers,
Daniel Mork
-----Original Message-----
From: Damodaran, Rajakumar (CORP, Consultant)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: Run Exe
Hi
Could you please tell me how to run a exe from a java program.
Is there any command which will run the exe(BAT file)
Thanks
D.rajakumar
===========================================================================
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