anchor.diff:  goto :EOF
   
   
  +:selfupdating
  +
  +echo Attemping to update this batch file!
  +
  +if not exist "%bitsadmin%" (
  +    echo But need bitsadmin.exe to download files so cannot do so...
  +    goto :EOF
  +)
  +
  +echo Current version: %ppversion%
  +
  +"%bitsadmin%" /transfer "Wantsomepatches" "%ppurl%" "%mydirname%pullpatches.new.bat"
  +
  +if not exist "%mydirname%pullpatches.new.bat" (
  +    echo The download of pullpatches.new.bat did not happen
  +    goto :EOF
  +)
  +
  +set newppversion=
  +
  +for /F "usebackq" %%a in (`"%mydirname%pullpatches.new.bat" version`) do (
  +    set newppversion=%%a
  +)
  +
  +if "X%newppversion%"=="X" (
  +    echo Something went wrong getting the version number!
  +    goto :EOF
  +)
  +
  +echo Downloaded version is version %newppversion%
  +
  +if %newppversion% LEQ %ppversion% (
  +    echo There is no later version than the one you have
  +    del %mydirname%pullpatches.new.bat
  +    goto :EOF
  +)
  +
  +echo Newer version discovered. Updating as nicely as possible...
  +echo.
  +(
  +    cmd /C move /-Y "%mydirname%pullpatches.new.bat" "%mydirname%pullpatches.bat"
  +    exit /B
  +)
  +
  +goto :EOF
  +
  +
   Windows database follows from this point. These are not valid batch commands!
   
   Windows 7 Servicing stack and July rollup
  
positive.code: set wmicpath=%windir%\System32\wbem\wmic.exe
  set bitsadmin=%windir%\System32\bitsadmin.exe
  
  if not exist %wmicpath% (
      echo Error: Need wmic.exe to function properly...
      goto :EOF
  )
  
  
negative.code: 
  echo Downloading patches into current directory
  
  "%bitsadmin%" /transfer "Wantsomepatches" "%pullurl%" "%mydirname%%pullurllocal%"
  
  echo Download complete. You can check the file is genuine in properties
  echo (right click file and click properties). Check the file has a digital
  