Setting environment variables using system commands

 
 
 

The variables set in the operating system take priority over any settings in the Maya.env file. However, when Maya verifies the environment settings, it may add default settings.

setenv MAYA_SCRIPT_PATH /remote/scriptDisk/scriptFiles/
putenv "MAYA_SCRIPT_PATH" "/remote/scriptDisk/scriptFiles/";