Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pkunzip: extract only ONE single file from zip archive

160 views
Skip to first unread message

Peter Blatt

unread,
Apr 12, 2001, 5:50:20 PM4/12/01
to
I am running pkzip (win32 version v2.5).

I didn't found a solution on how to extract only one of several files from
a give zip archive. Does anybody know this works ?

Regards
Peter

Yves Bellefeuille

unread,
Apr 13, 2001, 2:18:11 AM4/13/01
to

Since you're posting in comp.os.msdos.misc, I assume you know how to use
a DOS programme.

To extract a single file from a PKZip archive, do it this way:

PKUNZIP NAME_OF_ARCHIVE.ZIP FILE_I_WANT

--
Yves Bellefeuille <y...@storm.ca>, Ottawa, Canada
Francais / English / Esperanto
Esperanto FAQ: http://www.esperanto.net/veb/faq.html
Rec.travel.europe FAQ: http://www.faqs.org/faqs/travel/europe/faq

Andreas Kaestner

unread,
Apr 13, 2001, 3:08:55 PM4/13/01
to

"Peter Blatt" <pet...@redseven.com> schrieb im Newsbeitrag
news:3ad6231b$0$19386$9b62...@news.freenet.de...

> I am running pkzip (win32 version v2.5).
>
> I didn't found a solution on how to extract only one of several files from
> a give zip archive. Does anybody know this works ?

see http://www.pkware.com/support/faq/?topic=zipd#q0

Tip 1) Look on the manufacturer's homepage
Tip 2) www.google.com --> pkzip manual
Tip 3) Update your version
Tip 4) What has all this to do with alt.msdos.batch? :-)

Regards
Andreas


terry.hollis

unread,
Apr 14, 2001, 6:02:05 AM4/14/01
to
I have not used pkzip 2.5 but with version 1.1 and 2.04g the syntax is...

pkunzip myzip.zip this.fil

--
Regards - Terry Hollis


"Peter Blatt" <pet...@redseven.com> wrote in message
news:3ad6231b$0$19386$9b62...@news.freenet.de...

Kenneth Brody

unread,
Apr 14, 2001, 4:40:01 PM4/14/01
to

Give the name of the file you want to extract on the command line. For
example, to extract "myfile.txt" from "allfiles.zip":

pkzip -ext allfiles.zip myfile.txt

--

+---------+----------------------------------+-----------------------------+
| Kenneth | kenb...@bestweb.net | "The opinions expressed |
| J. | | herein are not necessarily |
| Brody | http://www.bestweb.net/~kenbrody | those of fP Technologies." |
+---------+----------------------------------+-----------------------------+
GCS (ver 3.12) d- s+++: a C++$(+++) ULAVHSC^++++$ P+>+++ L+(++) E-(---)
W++ N+ o+ K(---) w@ M@ V- PS++(+) PE@ Y+ PGP-(+) t+ R@ tv+() b+
DI+(++++) D---() G e* h---- r+++ y?


Bill Marcum

unread,
Apr 14, 2001, 8:16:20 PM4/14/01
to

Peter Blatt wrote in message <3ad6231b$0$19386$9b62...@news.freenet.de>...

>I am running pkzip (win32 version v2.5).
>
>I didn't found a solution on how to extract only one of several files from
>a give zip archive. Does anybody know this works ?
>
It's already been answered in other newsgroups, but:
pkunzip zipfile file_you_want
If the zipfile was created under a different OS, the filename might be
case-sensitive, or maybe that is only true with Info-Zip.


Dennis Katsonis

unread,
Apr 15, 2001, 6:00:00 AM4/15/01
to
Just type the file you want extracted at the end of the command line
ie
PKUNZIP TEST.ZIP MYLEVEL.WAD
to extract MYLEVEL.WAD from TEST.ZIP

Peter Blatt <pet...@redseven.com> wrote in message
news:3ad6231b$0$19386$9b62...@news.freenet.de...

Robert Riebisch

unread,
Apr 17, 2001, 8:43:34 AM4/17/01
to
How about "pkunzip archiv.zip file.dat"?

Robert Riebisch
--
BTTR Software
http://www.bttr-software.de/

Yngvar Folling

unread,
Apr 22, 2001, 1:35:02 PM4/22/01
to
In article <3ad6231b$0$19386$9b62...@news.freenet.de>,

Well, it seems very simple, so I wonder if there is a problem you
haven't mentioned.

You should have two program files, PKZIP.EXE for making an archive, and
PKUNZIP.EXE to extract files from it. The correct command to exract a
file is:

pkunzip <zipfile> <filename>

Insert the name of the Zip fil for <zipfile> and the name of the file
you want to extract for <filename>.

pkunzip without parameters gves you a list of program options.

Yngvar

david lindauer

unread,
Apr 24, 2001, 12:58:12 PM4/24/01
to
pkunzip archive.zip myfile

where myfile is the file you want to extract.

David

Marcus Houlden

unread,
Apr 25, 2001, 9:24:40 PM4/25/01
to
On Sun, 22 Apr 2001 17:35:02 GMT, Yngvar Folling <yngvar....@hl.telia.no>
wrote the following to comp.os.msdos.misc:

> In article <3ad6231b$0$19386$9b62...@news.freenet.de>,
> pet...@redseven.com (Peter Blatt) wrote:
> > I am running pkzip (win32 version v2.5).
> >
> > I didn't found a solution on how to extract only one of several files from
> > a give zip archive. Does anybody know this works ?
>
> Well, it seems very simple, so I wonder if there is a problem you
> haven't mentioned.
>
> You should have two program files, PKZIP.EXE for making an archive, and
> PKUNZIP.EXE to extract files from it.

Not any more. PKZip/UnZip 2.04 was 2 separate programs. PKZip 2.5 is just one.


--
Marcus Houlden

This space intentionally blank.

Matthias Paul

unread,
Apr 25, 2001, 10:58:16 PM4/25/01
to
On 2001-04-22, Marcus Houlden wrote:

> > You should have two program files, PKZIP.EXE for making an archive, and
> > PKUNZIP.EXE to extract files from it.
>
> Not any more. PKZip/UnZip 2.04 was 2 separate programs. PKZip 2.5 is just
one.

FWIW. PKZIP 2.5 for Windows, maybe, but PKZIP 2.50 for DOS for sure
comes with a separate PKUNZIP utility.

Greetings,

Matthias

------------------------------------------------------------
Matthias Paul, Ubierstrasse 28, D-50321 Bruehl, Germany
<Matthi...@post.rwth-aachen.de> <mp...@drdos.org>
http://www.uni-bonn.de/~uzs180/mpdokeng.html
------------------------------------------------------------
My homepage has moved, please update your pointers.

Jean-Marc Jousselin

unread,
May 9, 2001, 7:16:37 AM5/9/01
to

Peter Blatt a écrit :

>
> I am running pkzip (win32 version v2.5).
>
> I didn't found a solution on how to extract only one of several files from
> a give zip archive. Does anybody know this works ?

Quite easy :
pkunzip archive.zip thefile.xxx

Hope this helps.
_J-M_

0 new messages