Windows CMD and Batch Snippets

Get file contents of a zip folder

If you have git-bash installed, you can just use zipinfo:

zipinfo -1

Else, if you 7z installed (or Peazip, which comes bundled with it) you can use it from the CLI with something like (in same folder as zip):

"C:\Program Files\PeaZip\res\7z\7z.exe" l %cd%/

Markdown Source Last Updated:
Thu Oct 17 2019 18:27:19 GMT+0000 (Coordinated Universal Time)
Markdown Source Created:
Thu Oct 17 2019 01:20:06 GMT+0000 (Coordinated Universal Time)