blue piranha
blue piranha

Reputation: 3874

Listing files without unzipping and selective unzip

We have several big sized zip files. Each of these zips contains excel file and a bunch of bmp images.

I was just wondering if 7-zip allows listing the content of the zip without unzipping it? And also if we can selectively unzip the excel file?

Currently, I use c# console program utilizing diagnostic process to execute 7z.exe. It would be nice not to unzip the entire thing.

Upvotes: 2

Views: 4257

Answers (1)

Craig Suchanec
Craig Suchanec

Reputation: 10824

For listing you can use the list command (l) to the 7zip.exe

7z l archive.zip

For selectively extracting files you can use different commands to the extract command. Something like:

7z e archive.zip -oc:\soft *.xls

Upvotes: 4

Related Questions