Re: .ZIP vs. .EXE extraction
From: root/administrator (administrator_at_dev.null.dnsalias.net)
Date: 07/02/04
- Next message: Ruel Smith: "Re: 100dpi bitmap fonts"
- Previous message: The Ghost In The Machine: "Re: i bought a walmart cheapie"
- In reply to: Larry I Smith: "Re: .ZIP vs. .EXE extraction"
- Next in thread: Larry I Smith: "Re: .ZIP vs. .EXE extraction"
- Reply: Larry I Smith: "Re: .ZIP vs. .EXE extraction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 02 Jul 2004 20:07:05 GMT
Larry I Smith wrote:
> root/administrator wrote:
>> Larry I Smith wrote:
>>
>>
>>>root/administrator wrote:
>>>
>>>>How can one extract a ZIP file that has .EXE extension? I tried using
>>>>"unzip -x" to no avail.
>>>>
>>>
>>>Hmm, the '-x' option to unzip tells it which files NOT to extract.
>>>
>>>The linux version of 'unzip' should be able to extract
>>>the contents. Here's the text from 'man unzipsfx':
>>>
>>>"Regular unzip may still be used to extract the embedded archive as with
>>>any normal zipfile, although it will generate a harmless warning about
>>>extra bytes at the beginning of the zipfile."
>>>
>>>So, if the file is named 'junk.exe', try this command:
>>>
>>> unzip junk.exe
>>>
>>>Regards,
>>>Larry
>>>
>>
>>
>> Here is what I got doing an "unzip junk.exe":
>>
>> Archive: junk.exe
>> End-of-central-directory signature not found. Either this file is not
>> a zipfile, or it constitutes one disk of a multi-part archive. In the
>> latter case the central directory and zipfile comment will be found on
>> the last disk(s) of this archive.
>> unzip: cannot find zipfile directory in one of junk.exe or
>> junk.exe.zip, and cannot find junk.ZIP, period.
>>
>
> Hmm, I would suspect a corrupted archive within the 'exe'.
>
> Does it self-extract OK on a Windows pc?
>
> It could be that it was created with the PKZIP version of
> 'zip' rather than with the InfoZip platform-portable
> version of 'zip'. If that is the case, you have one choice:
>
> 1) unzip it on a Windows pc (by executing it); then create
> a simple '.zip' file from the unzipped content. the new
> '.zip' file will be readable by the unix/linux 'unzip'.
>
> Regards,
> Larry
>
Yes, I copied the .exe file to diskette and took it to Win2k3 to extract
without a problem. I took the file back to my SuSE-9.1Pro machine did a
comparison with no error. But, the "unzip .exe" would give me the error
messages.
-- root/administrator
- Next message: Ruel Smith: "Re: 100dpi bitmap fonts"
- Previous message: The Ghost In The Machine: "Re: i bought a walmart cheapie"
- In reply to: Larry I Smith: "Re: .ZIP vs. .EXE extraction"
- Next in thread: Larry I Smith: "Re: .ZIP vs. .EXE extraction"
- Reply: Larry I Smith: "Re: .ZIP vs. .EXE extraction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|