1.

Solve : reading the contents/file list of a ZIP (or compressed) file?

Answer»

Does anyone know of a way to read/return the contents of a zip/compressed file?

(Microsoft WINDOWS XP [Version 5.1.2600])If you have Winzip or WinRAR you can use the command line programs that they include.

But you do not say what you use.


Sorry, Winzip is the program I'm using.look for this file

C:\Program Files\WinZip\WZUNZIP.EXE

copy it to a folder on your PATH such as c:\windows\system32

then you can open a command window in a folder containing a zip file and type

wzunzip -v (zipfilename.zip)


Code: [Select]C:\>wzunzip -v inpbox11.zip
WinZip(R) Command Line Support Add-On Version 1.1 SR-1 (Build 6224)
Copyright (c) WinZip Computing, Inc. 1991-2004 - All Rights Reserved

Zip file: inpbox11.zip

Length Method Size RATIO Date Time CRC-32 Attr Name
------ ------ ----- ----- ---- ---- -------- ---- ----
8 Stored 8 0% 24/02/2008 21:18 922564ae --w- out.txt
100 Stored 100 0% 24/02/2008 21:16 5e05adf7 --w- test1.bat
266 Stored 266 0% 24/02/2008 21:09 0ba27868 --w- demo.bat
197120 Stored 197120 0% 24/02/2008 21:09 be3139cc --w- inputbox.exe
6213 Stored 6213 0% 24/02/2008 21:09 453816f1 --w- inputbox.txt
------ ------ --- -------
203707 203707 0% 5
Quote from: strpdsnk on March 31, 2008, 01:36:45 PM

Does anyone know of a way to read/return the contents of a zip/compressed file?

(Microsoft Windows XP [Version 5.1.2600])

If you are interested in software other than WinZip, as in old DOS software to run from the command line, you might like to have a copy of List .
I liked it back then, and still do. Always have a copy in the path. It is a
'must have' utility program for me.

List can look inside .zip files. If there are text files in there, you can read them too, without you having to unzip them.

List does a lot of other things too.
It is a very nice reader for text files.

It is un-crippled shareware.
You can download it here:
http://www.oregonfast.net/~steen/msdos.htm
There's a lot of text on that page. Look for list91k.zip .

If you decide to try it, and if you get lost somehow, just let me know.



Discussion

No Comment Found