on 01-30-2006 12:18 PM
Hi,
This is guruvulu,
I have a problem in executing ".exe" files.For Example InternetExplorer.
Hi,
You can execute .exe files in JAVA using the following code.
Runtime rt1 = Runtime.getRuntime();
Process pc = rt1.exec("someexe.exe");
you can get the output of the executed exe file in
in = pc.getInputStream(); //this returns a InputStream
hope this solves your problem.
regards,
P.Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.