anchor.diff:  ::%1 - number of 100%
   ::%2 - number, which is necessary to calculate the percentage
   ::%3 - variable name for save result
  -:calcperc
  -setlocal
  -::echo on
  -echo.%~0: %*
  +:perccalc
  +setlocal
  +::echo.%~0: %*
   set "change=%~2"
   set "sign="
   if "%change:~,1%" equ "-" (set "sign=-" & set "change=%change:~1%")
  
positive.code: setlocal
  set "F1=%~1 [%opt%/!TotalNum%~1!]:                                  "
  set "F5=           !perc%~1!"
  set "F2=           !STotalSize%~1! !stepB%~1!"
  set "F3=           !SImageSize%~1! !stepB%~1!"
  set "F4=           !change%~1! !stepB%~1!"
  echo. !F1:~,%TFN%!^|!F2:~-11!^|!F3:~-11!^|!F4:~-10!^|%F5:~-9%%%
  echo.%spacebar%
  endlocal & exit /b
  
negative.code: ::%5 - variable name for decimal places (out)
  ::%6 - variable name for measure (out)
  :finprepsize
  ::echo.%~0: %~1	%~2	%~3
  setlocal
  set "divider=" & set "dp=100" & set "meas=" & set "step10=%~3"
  if %~1 equ %GB% (
  	if %~2 geq %KB%%step10:~1% (
  		set "divider=%KB%%step10:~1%"
  		set "meas=TB"
  	) else (
  		set "divider=%step10%"
  		set "dp=%step10%"
  		set "meas=GB"
  	)
  ) else if %~1 equ %MB% (
  	if %~2 geq %MB%%step10:~1% (
  		set "divider=%MB%%step10:~1%"
  		set "meas=TB"
  	) else if %~2 geq %KB%%step10:~1% (
  		set "divider=%KB%%step10:~1%"
  		set "meas=GB"
  	) else (
  		set "divider=%step10%"
  		set "dp=%step10%"
  		set "meas=MB"
  	)
  ) else if %~1 equ %KB% (
  	if %~2 geq %MB%%step10:~1% (
  		set "divider=%MB%%step10:~1%"
  		set "meas=GB"
  	) else if %~2 geq %KB%%step10:~1% (
  		set "divider=%KB%%step10:~1%"
  		set "meas=MB"
  	) else (
  		set "divider=%step10%"
  		set "dp=%step10%"
  		set "meas=KB"
  	)
  ) else if %~1 equ 1 (
  	if %~2 geq %GB% (
  		set "divider=%GB%"
  		set "meas=GB"
  	) else if %~2 geq %MB% (
  		set "divider=%MB%"
  		set "meas=MB"
  	) else if %~2 geq %KB% (
  		set "divider=%KB%"
  		set "meas=KB"
  	) else (
  		set "divider=1"
  		set "dp=1"
  		set "meas=B"
  	)
  )
  ::echo.%~0: %divider%	%dp%	%meas%
  endlocal & set "%~4=%divider%" & set "%~5=%dp%" & set "%~6=%meas%"
  exit /b
  
  ::%1 - JPG|PNG|GIF
  