@echo off
:: Extract the differences between two files into a file
::
cd.>
for /f "tokens=1* delims=:" %%i in ('findstr /n . ') do (
for /f "tokens=1* delims=:" %%x in ('findstr /n . ') do (
if %%i equ %%x if not "%%j"=="%%y" (>> echo 1:%%j&>> echo 2:%%y&>> echo.)
)
)