Environment variables can be defined in the following way, e.g., zu make specific directories/files accessible for various Cinema 4D versions or users.
For Windows (environment variables cannot officially be used under macOS due to security reasons):
The following environment variables are available:
- g_additionalModulePath: Set a path like c:\plugins (or a network path) to load plugins that lie outside of the Cinema 4D program directory (with the introduction of Cinema 4D R20, this can be done comforably in the Preferences menu).
- g_prefspath: Here you can define a path to which user-specific files (e.g., layout, user preferences, etc.) to a custom directory instead of to a standard user directory.
- C4D_SCRIPTS_DIR: Set a path like c:\scripts (or a network path) to load Python scripts in any Cinema 4D version.
Multiple paths can be separated using a semicolon (;).