is there a way do make a batch file delete a file if it not smaller then X% of another


The reason i wan to do this is because i have my batch file trying different kind of combination of delta and rep filter and RZM/7-zip/nanozip compression

I wish for it to automatically delete files if E.g. RZM is not smaller then 95% of the 7-zip file.