{code} @echo off REM check the registry for python, and write config statements if we find it. -reg query HKLM\Software\Python\PythonCore\2.7\InstallPath /ve 2>NUL && echo HAS_PYTHON=true +reg query HKLM\Software\Wow6432Node\Python\PythonCore\2.7\InstallPath /ve 2>NUL 1>NUL && echo HAS_PYTHON=true {endcode}