Groups | Blog | Home
all groups > vj# > november 2004 >

vj# : extract self-extracting zip file


Paul
11/23/2004 5:45:04 PM
Hi,

I am wondering if anyone knows how to extract a self-extracting zip file
(EXE file extension) via java.utils.zip. Everytime I try to open the EXE
file, it just throws me zip exception.

If this isn't doable, what other methods can I approach to accomplish this?

Please advice, thanks!
Lars-Inge Tønnessen [VJ# MVP]
11/30/2004 11:41:58 PM

Don't think you can do that with the J# zip classes.
I would have ran the exe.

E.g. this will start notepad:
System.Diagnostics.Process.Start( "notepad.exe" );

System.Diagnostics.Process.Start( "filename.zip" );


Regards,
Lars-Inge Tønnessen
www.larsinge.com

AddThis Social Bookmark Button