anchor.diff:  SET PYTHONHOME=%PYTHONHOME:~0,-1%
   
   :MAIN
  +
  +if not "%~1"=="all_users" (
  +	set classes_key=HKCU\Software\Classes
  +	GOTO SKIP_MODE_CHECKING
  +)
  +
  +set classes_key=HKLM\Software\Classes
  +
   REM Detect if the user is running in elevated mode.
   REM Relies on requiring admin privileges to read the LOCAL SERVICE account reg key.
   reg query "HKU\S-1-5-19" >NUL 2>NUL
  
positive.code: 	GOTO END
  )
  
  assoc .pyc=Python.CompiledFile >NUL 2>NUL
  ftype Python.CompiledFile="%PYTHONHOME%\Scripts\python.bat" "%%1" %%* >NUL 2>NUL
  
  assoc .py=Python.File >NUL 2>NUL
  ftype Python.File="%PYTHONHOME%\Scripts\python.bat" "%%1" %%* >NUL 2>NUL
  @IF ERRORLEVEL 0 (
  	echo.
  	echo.    .py files will launch with "%PYTHONHOME%\Scripts\python.bat" "%%1" %%*
  
negative.code: )
  
  :END
  set classes_key=