Page 1 of 1

How to add files larger than 100 kb to the 7z archive?

Posted: 17 May 2021 00:49
by PiotrMP006
Hi

How to add files larger than 100 kb to the 7z archive?

Re: How to add files larger than 100 kb to the 7z archive?

Posted: 17 May 2021 07:41
by Squashman
The FOR command provides a mechanism to get the size of a file.

Code: Select all

for %%G IN (somefile.txt) do @echo %%~zG
You may have remembered this when you were directed to read the help file when you asked this question