in reply to Uncompressing ZIP Files
Um, if it's really a WinZip self-extracting ZIP file, why not use system() to let it uncompress itself? For example:
#!/usr/bin/perl my $sfxfile = "samples.exe"; system( "$sfxfile" ) == 0 or die "Can't unzip $sfxfile";
This is pretty much the same code found in perlfunc:system and worked on my system (Win98) with an sfx created with WinZIP 7, SP1.
--f
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Uncompressing ZIP Files
by a (Friar) on Dec 18, 2000 at 09:50 UTC | |
by footpad (Abbot) on Dec 18, 2000 at 10:03 UTC |