upd. decided so, but I want a switch. @echo off for /f "tokens=2 delims==" %%a in ('7z l folder.7z -ba -slt ^|find /i "path"') do echo %%a
So? https://sourceforge.net/p/sevenzip/discussion/45798/thread/aadb3f765e/?limit=25#b923
7z t archive.7z -bb
@ipavlov, Isn't CRC a checksum or CRC32?
It will not be possible to calculate SHA256 files without unpacking the archive, because SHA256 is not in the archive. 7z archive consists of 4 main blocks of data: Start Header (32 bytes): it contains signature and link to End Header Compressed Data of files Compressed Metadata Block for files: it contains links to Compressed Data, information about compression methods, CRC, file names, sizes, timestamps and so on. End Header: it contains link to Compressed Metadata Block. https://www.7-zip.org...
try in command line 7z l C:\file.7z -xtd -slt |findstr /irc:"Path" /irc:"CRC"
upd. decided so, but I want a switch. for /f "tokens=2 delims==" %%a in ('7z l folder.7z -ba -slt ^|find /i "path"') do echo %%a
upd. I decided so, but I would like a switch. for /f "tokens=2 delims==" %%a in ('7z l folder.7z -ba -slt ^|find /i "path"') do echo %%a