I want to search the contents without extracting the compressed file.

Asked 2 years ago, Updated 2 years ago, 102 views

This is my first post.I apologize for the lack of knowledge.
Based on the contents of the compressed file (Zip, etc.) in Windows 10 environment,
without taking time I would like to create a batch file or app that can be sorted into the specified folder.
So I have a question,
in the Explorer search settings.
Include compressed files (Zip, CAB...) I would like to know the commands that can be done and how to do it.
I don't have Linux or Unix and would like to implement it on Windows.
I just looked it up on the Internet, but I couldn't find it, so I want to know how you found it.

Thank you for your cooperation

windows-10 batch-file

2022-09-30 21:36

2 Answers

The unzip command retrieves a compressed list of files.

You can download the unzip command for Windows version below.
http://gnuwin32.sourceforge.net/packages/unzip.htm

Try launching a command prompt and executing the unzip command with the following options:
unzip-lxxx.zip

How did you get to this information?However,
Google the zip file list as the search keyword and you'll find it.


2022-09-30 21:36

7-Zip command-line version, where 7z.exe checks the contents without unzipping the library (Zip) files.
Specify the switch l to display the file list and the pattern you want to search for (*.txt in the example below).

>7zl-ir!*.txtarchive.zip


2022-09-30 21:36

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.