anchor.diff:  ::%3 - thread number
   :savelog
   set /a "change=%~z1-%2"
  -if %change% equ 0 (
  -	call:saverrorlog %1 1 
  +if %change% equ 0 call:saverrorlog %1 1
   set /a "perc=%change%*100/%2" 2>nul
   set /a "fract=%change%*100%%%2*100/%2" 2>nul
   set /a "perc=%perc%*100+%fract%"
  
positive.code: set "filelisterr2=%tmppath%\filerr2"
  ::For Images are not found
  set "filelisterr3=%tmppath%\filerr3"
  set "thread=" & set "updatecheck=" & set "outdir=" & set "nooutfolder="
  set "jpegtags=" & set "xtreme=" & set "advanced=" & set "pngtags=" & set "giftags="
  call:readini "%configpath%"
  
negative.code: call:division change 1024 100
  set "change=          !change!"
  set "percent=          %5%%"
  echo. !fn:~,%TFN%!^|%origsize:~-11%^|%optsize:~-11%^|%change:~-10%^|%percent:~-10%
  endlocal & call:calcstep %6 %2 %3
  exit /b
  
  ::%1 - file name
  ::%2 - error message
  :printfileerr
  setlocal
  set "fn=%~nx1                                        "
  