Hi,
>From a servlet i am executing notepad application like this :
Runtime.getRuntime().exec("notepad");
How can I invoke a command like this:
Runtime.getRuntime().exec("dir");--> This command does not executes
since this is console dependent.Can anybody help me how to do that?
Regards,
Ritesh
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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