Setting environment variables with .bat file issue with Renderman 22

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am having an issue where we are running Maya 2018.2 on Windows 7. We created a custom bat file to open Maya and set our environment variables for our various plugins and licenses. Everything has been working well until we installed RenderMan 22. Now, when we open maya, which points to the correct directories, and we try to open "IT", we get :
#Error: line 13: WindowsError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\subprocess.py line 884: 6
I have tried taking all environment variables out and just having the batch file simply load Maya with
"C:\Program Files\Autodesk\Maya2018\bin\maya.exe"
and I still get the same issue. When running Maya WITHOUT the bat file, and setting the environment variables up in the Maya.env, everything works. Is there something inherent with the .bat file that makes Maya not see something? Thanks for any and all insight.