Page 1 of 1

Any way to retrieve archive extracted size via scripting?

Posted: 06 Jun 2023 23:24
by eil
As title asks. Specifically my target info about extracted size for zip, rar and 7z.
Lets say archive is 500Mb but when extracted it will be 850Mb = is there a way to get this "extracted size" info via XY scripting?

Re: Any way to retrieve archive extracted size via scripting?

Posted: 07 Jun 2023 00:02
by jupe
You could use a runret of 7z.exe l filename.ext and parse the output, the total size is on the last line.