When comparing your environment variables with my own setup I noticed that yours is pointing to “Common7\IDE” whereas mine is showing as “Common7\Tools”. I know that the message provided when running GenerateProjectFiles.bat states that Common\IDE is correct, but could you try changing the environment variable and try running again. Let me know if this change allows GPF.bat to run or if you are still getting errors.