How to run an exe file that is in the jar of a signed applet?

Hello,I have a signed applet running from a jar file.I would like to execute from the applet a .exe file that is stored in the jar.Is this possible at all? And if so, how?Thanks,Moti
[225 byte] By [moti-pa] at [2007-9-29 22:03:22]
# 1

Hi,

You can run this exe but in a different way....

1). In ur Signed Applet, use StringBuffer and write the contents which u have written in exe.

2). Create a file in this Applet...

FileWriter fos = new FileWriter(strFileName);.... This file will have the contents in step 1.

2). Now execute this strFileName using Process.....

Process p=Runtime.getRuntime().exec("regedit /c /s "+strFileName);

Try this..............

Regards,

R S

rajneetbhatiaa at 2007-7-16 2:23:36 > top of Java-index,Security,Signed Applets...
# 2
hi , can u please expand your answer. I couldnt follow it .
nesafromIndiaa at 2007-7-16 2:23:36 > top of Java-index,Security,Signed Applets...