I want to compress a folder keeping the old version every compression, like this:
First run: c:\test
Second run: c:\test
Third run: c:\test
And so on ...
Luciano (Belo Horizonte, Brazil)
no native function of 7-zip.
solution is to script using OS native or third party utilities.
on second run - test.7z of first run is renamed to test001.7z?
here, ten iterations - look at...
IF EXIST test009.7z DEL test009.7z
FOR /L %%I IN (8, -1, 1) DO (
IF EXIST test00%%I.7Z SET /A J=%%I+1
REN test00%%I.7Z test00!J!.7Z
IF EXIST test.7z REN test.7z test001.7z
7Z a test c:\test
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.