anchor.diff:  set ARCH=%ARCH: =%
   
   set PHP_SDK_RUN_FROM_ROOT=1
  +rem this will be eventually overridden by phpsdk_setvars, but nothing wrong to use the same name here
  +set PHP_SDK_ROOT_PATH=%~dp0
  +
   
   title PHP SDK
   
  -call %IMHERE%bin\phpsdk_setshell.bat %CRT% %ARCH%
  +call %PHP_SDK_ROOT_PATH%bin\phpsdk_setshell.bat %CRT% %ARCH%
  +
  +set PHP_SDK_RUN_FROM_ROOT=
  +set CRT=
  +set ARCH=
   
   if errorlevel 3 (
   	exit /b %errorlevel%
  
positive.code: 	if exist "%TASK%" (
  		set TASK_ARGS=%TASK_ARGS:"=%
  
  		if exist "%IMHERE%phpsdk-local.bat" (
  			cmd /c "!PHP_SDK_VC_SHELL_CMD! && %IMHERE%\bin\phpsdk_setvars.bat && %IMHERE%\phpsdk-local.bat && %TASK% !TASK_ARGS!"
  		) else (
  			cmd /c "!PHP_SDK_VC_SHELL_CMD! && %IMHERE%\bin\phpsdk_setvars.bat && %TASK% !TASK_ARGS!"
  		)
  		exit /b
  	) else (
  		echo could not find the task file
  		exit /b 3
  	)
  )
  
  if exist "%IMHERE%phpsdk-local.bat" (
  	cmd /k "!PHP_SDK_VC_SHELL_CMD! && %IMHERE%\bin\phpsdk_setvars.bat && %IMHERE%\bin\phpsdk_dumpenv.bat && %IMHERE%\phpsdk-local.bat && echo. && set prompt=$P$_$+$$$S"
  ) else (
  	cmd /k "!PHP_SDK_VC_SHELL_CMD! && %IMHERE%\bin\phpsdk_setvars.bat && %IMHERE%\bin\phpsdk_dumpenv.bat && set prompt=$P$_$+$$$S"
  )
  
  set PHP_SDK_RUN_FROM_ROOT=
  
  exit /b
  
  
negative.code: @echo off
  
  setlocal enableextensions enabledelayedexpansion
  
  :getopt
  if /i "%1" equ "-h" goto help
  