anchor.diff:  ::Lorents & Res2001 2010-2016
   
   setlocal enabledelayedexpansion
  -set "name=Image Catalyst"
  -set "version=2.6"
  -set "spacebar=-------------------------------------------------------------------------------"
   if athrda equ a%~1a call:threadwork %4 %5 "%~2" "%~3" & exit /b
   if bupdateicb equ b%~1b call:icupdate & exit /b
   if cc equ c%~1c call:helpmsg & exit /b
  +if ##secondcall## equ #%~1# goto:main
  +set "CMDCMDLINE=%CMDCMDLINE%"
  +set "paramf=%*"
  +cmd /c ""%~0" #secondcall# %*"
  +exit /b
  +:main
  +set "name=Image Catalyst"
  +set "version=2.6"
   title %name% %version%
  +set "spacebar=-------------------------------------------------------------------------------"
   set "fullname=%~0"
   set "scrpath=%~dp0"
   set "sconfig=%scrpath%Tools\"
  
positive.code: 	"%apps%jpegtran.exe"
  	"%apps%pngwolfzopfli.exe"
  	"%apps%truepng.exe"
  	"%scripts%filter.js"
  	"%scripts%update.js"
  ) do (
  
negative.code: if /i "%giftags%" equ "true" (set "giftags=--no-comments --no-extensions --no-names") else (set "giftags=")
  call set "outdir=%outdir%"
  if defined outdir set oparam="/Outdir:%outdir%"
  cscript //nologo //E:JScript "%scripts%pfilter.js" %paramf% %oparam% 1>"%paramfile%" 2>"%filelisterr%"
  call:readini "%paramfile%"
  if defined perr (
  	set "perr=%perr:~,-1%"
  