Yes here is an exemple
RT = Runtime.getRuntime() ;
try {
p = RT.exec("notepad.exe") ;
} catch(IOException e) {
System.out.println("IOException: " + e.getMessage());
}
Thierry
|--------+------------------------------->
| | "Dahnke, Eric" |
| | <[EMAIL PROTECTED]|
| | OM> |
| | Sent by: "A mailing |
| | list for discussion |
| | about Sun |
| | Microsystem's Java |
| | Servlet API |
| | Technology." |
| | <SERVLET-INTEREST@JAV|
| | A.SUN.COM> |
| | |
| | |
| | 14/02/2002 00:57 |
| | Please respond to "A |
| | mailing list for |
| | discussion about Sun |
| | Microsystem's Java |
| | Servlet API |
| | Technology." |
| | |
|--------+------------------------------->
>------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: OT Run a system command from java.
|
>------------------------------------------------------------------------------------------------------------|
Perl and PHP have exec() or system() to invoke OS level executeables.
Does
Java have anything similar?
Regards, Eric
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html