anchor.diff:      )
   )
   goto runscript
  +
  +:checkpyversion <path> <py2v> <py2path> <py3v> <py3path>
  +set "version="&for /f "tokens=2* USEBACKQ delims= " %%a in (`"%~1" -V 2^>^&1`) do (
  +    REM Ensure we have a version number
  +    call :isnumber "%%a"
  +    if not "!errorlevel!" == "0" goto :EOF
  +    set "version=%%a"
  +)
  +if not defined version goto :EOF
  +if "!version:~0,1!" == "2" (
  +    REM Python 2
  +    call :comparepyversion "!version!" "!%~2!"
  +    if "!errorlevel!" == "1" (
  +        set "%~2=!version!"
  +        set "%~3=%~1"
  +    )
  +) else (
  +    REM Python 3
  +    call :comparepyversion "!version!" "!%~4!"
  +    if "!errorlevel!" == "1" (
  +        set "%~4=!version!"
  +        set "%~5=%~1"
  +    )
  +)
  +goto :EOF
  +
  +:isnumber <check>
  +set "var="&for /f "delims=0123456789." %%i in ("%~1") do set var=%%i
  +if defined var (exit /b 1)
  +exit /b 0
  +
  +:comparepyversion <version1> <version2> <return>
  +REM Exits with status 0 if equal, 1 if v1 gtr v2, 2 if v1 lss v2
  +for /f "tokens=1,2,3 delims=." %%a in ("%~1") do (
  +    set a1=%%a
  +    set a2=%%b
  +    set a3=%%c
  +)
  +for /f "tokens=1,2,3 delims=." %%a in ("%~2") do (
  +    set b1=%%a
  +    set b2=%%b
  +    set b3=%%c
  +)
  +if not defined a1 set a1=0
  +if not defined a2 set a2=0
  +if not defined a3 set a3=0
  +if not defined b1 set b1=0
  +if not defined b2 set b2=0
  +if not defined b3 set b3=0
  +if %a1% gtr %b1% exit /b 1
  +if %a1% lss %b1% exit /b 2
  +if %a2% gtr %b2% exit /b 1
  +if %a2% lss %b2% exit /b 2
  +if %a3% gtr %b3% exit /b 1
  +if %a3% lss %b3% exit /b 2
  +exit /b 0
   
   :askinstall
   cls
  
positive.code: goto checkpy
  
  :checkpy
  python -V > NUL 2>&1
  if not "!errorlevel!" == "0" (
      if %tried% lss 1 (
          if /i "!toask!"=="yes" (
              REM Better ask permission first
  
negative.code:         echo   ###     ###
          echo  # Warning #
          echo ###     ###
          echo.
          REM Couldn't install for whatever reason - give the error message
          echo Python is not installed or not found in your PATH var.
          echo Please install it from https://www.python.org/downloads/windows/
  