anchor.diff:  	)
   )
   
  -echo 
   
  -for %%a in (%DeployPurgeFolders%) do (
  -	set folder=%%a
  -	if exist %DeployDestinationFolder%\!folder! (
  -		pushd %DeployDestinationFolder%\!folder!
  -		for /r %%f in (*.*) do (
  +call :ProcessDeployPurgeFolders %DeployPurgeFolders%
  +
  +
  +pause
  +goto:eof
  +
  +
  +:ProcessDeployPurgeFolders
  +	
  +	if "%1"=="" exit /b
  +
  +	if exist %DeployDestinationFolder%\%1 (
  +
  +		for /r %DeployDestinationFolder%\%1 %%f in (*.*) do (
   			set oldfile=%%f
   			set oldfile=!oldfile:%DeployDestinationFolder%=!
   			if "!oldfile:~0,1!"=="\" SET oldfile=!oldfile:~1!
  
positive.code: :: Import variables
  call _deploy-variables.cmd
  
  
  
  set LogFile=%cd%\compare-log.txt
  
negative.code: 				echo f | xcopy "%DeployDestinationFolder%\!oldfile!" "%DeployBackupFolder%\!oldfile!" /Y
  				echo echo f ^| xcopy "%DeployBackupFolder%\!oldfile!" "%DeployDestinationFolder%\!oldfile!" /Y >> "%RestoreFile%"
  			)
  
  		)
  	)
  	shift
  	
  goto :ProcessDeployPurgeFolders
  