anchor.diff:  
   	for /f "usebackq tokens=* delims=" %%I in ( `dir /b /s /a:-d "%SRCDIR%\*" 2^>NUL ^| findstr /i "%FILEMASKS%" 2^>NUL` ) do (
   		%PROC%
  +
  +		set PREVFILENAME=%%I
   		set /a COUNTER+=1
   		SETLOCAL ENABLEDELAYEDEXPANSION
   		set /a PTS= 100*!COUNTER!/!TOTAL!
  -		echo.!COUNTER!^/!TOTAL! !PTS!^%% done.
  -		echo.
  +		if !ERRORLEVEL! NEQ 0 ( 
  +    		@echo.Process failed. Error:!ERRORLEVEL!
  +    	) else (
  +    		@echo.!COUNTER!^/!TOTAL! !PTS!^%% done.
  +			@echo.
  +		)
   		endlocal
   	)
   	endlocal
  
positive.code: 	if not defined PSRCDIR set "PSRCDIR=" 
  	setlocal
  	set compress_cmd="%ProgramFiles%\WinRAR\winrar.exe"
  	set "rar_keys=-r -y -s -scul -p4chan.org -ep1 -m5 -ms*.bpg;*.jpg;*.png;*.rar;*.zip;*.7z -IBCK -INUL -x*\Thumbs.db"
  	set SRCDIR=%~dp1
  	set FILENAME="%~1"
  	set DEST=%~2
  
negative.code: 	set sw=%~1
  	call set info=%%~%sw%2
  	::echo.info="%info%"
  	ENDLOCAL & IF "%~3" NEQ "" SET %3=%info%
  exit /b !ERRORLEVEL!
  
  :ESCAPE_SCHARS_STR
  