1

I have quite often to compare two zip files under Windows. Usually I unzip each of them into a temporary folder, then compare the folders with kdiff3, then delete the temporary folders.

I'm looking for a way to do this with a single step, i.e. directly tell KDiff3 to compare the two zip files, which then automatically unzipps each file and compares the content.

I guess if this may be possible with the preprocessor command, but the examples seem to refer to text files only.

Christoph Jüngling
  • 1,080
  • 7
  • 26

1 Answers1

1

I stumbled here as was looking for similar tool. I ended with writing this small batch to speedup the diff.

@echo off
if not exist %1 goto error
if not exist %2 goto error

7z x -oa %1 
7z x -ob %2 

kdiff a b
goto end


:error
echo diff-zips r1.zip r2.zip

:end
rostok
  • 2,057
  • 2
  • 18
  • 20