--Java, J2EE ~by Highbrow
Open exe file using Javaimport java.io.*;public class execEXE{ public static void main(String[] args){ try{ String[] abc = new String[]{"C:\\Program Files\\Mozilla Firefox\\firefox.exe","C:\\ex1.html"}; Runtime.getRuntime().exec(abc); }catch(Exception ee) { ee.printStackTrace(); } }}
Post a Comment
1 comment:
Open exe file using Java
import java.io.*;
public class execEXE{
public static void main(String[] args){
try{
String[] abc = new String[]{"C:\\Program Files\\Mozilla Firefox\\firefox.exe","C:\\ex1.html"};
Runtime.getRuntime().exec(abc);
}catch(Exception ee) {
ee.printStackTrace();
}
}
}
Post a Comment