Hi:

This is Johan Talla from Perú, ... i have a problem...

I want to execute a remote file(*.exe), but i can´t because the remote
machine has installed
a software that my machine hasn´t it... So, ... my idea is to execute a
remote file(*.bat).

This sentence is very good, but only execute files(*.exe)...

try{
java.lang.Process p = null;
String fileName = "temp";
String command = fileName;
p = java.lang.Runtime.getRuntime().exec(command);
}
catch(Exception e){
  log("the exception e is:"+e.getMessage());
}


How can I do to execute files(*.bat)???

A little help from my friend...

Saludos...


Johan A. Talla Anampa

___________________________________________________________________________
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

Reply via email to