Setting and getting environment variables within Maya
 
 
 

You can set the value of environment variables within Maya by using the putenv command.

You can get the value of an environment variable within Maya by using the getenv command.