• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 日本語
Maya Creative
    • What's New in Maya 2026
    • Maya 2026 Release Notes
    • Maya Installation Help
    • Getting Started
    • Basics
    • Managing Scenes, Files, and Projects
    • Interoperability
    • USD for Maya
    • Modeling
    • Animation
    • Character Animation
    • Motion Graphics
    • Lighting and Shading
    • LookdevX
    • Rendering
    • Arnold for Maya
    • Customizing Maya Creative
    • Environment Variables
      • Environment Variables
      • Setting and getting environment variables within Maya
      • Setting environment variables using Maya.env
        • Read Maya.env from a custom location
      • Setting environment variables using system commands
      • Standard paths
      • General variables
      • Audio variables
      • File path variables
      • Output stream variables
      • Rendering variables
      • Mac OS X specific variables
      • Suites specific environment variables
      • Maya ASCII specific variables
    • Keyboard Shortcuts
    • Scripting
    • Technical Documentation
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    Read Maya.env from a custom location

    By default, Maya first searches for the Maya.env file in your MAYA_APP_DIR/<MayaVersion> location. If you want to override this behavior so that Maya.env is always read from a location of your choice, do as follows:

    1. Save your Maya.env file in the location you want.
    2. Use system commands to set the MAYA_ENV_DIR environment variable to this location.
    Tip: To query the location of your MAYA_APP_DIR, type the following in the command line:
    getenv "MAYA_APP_DIR"
    Parent topic: Setting environment variables using Maya.env

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved