Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each process has an environment of variables associated with values. When a new process is started, it copies the environment of the process that started it. For example, when you double-click an icon to launch an application, the new process copies the user environment of the Desktop (or technically speaking – of – of the running shell, which on Windows is explorer.exe), while if you start a program from a Windows Command Prompt, the new process inherits copies the environment from of that particular Command Prompt instance, which can be different – see the Process Variables section below.

...

At the system level, variables affect all instances of an application started by all users on the system. For example, if you set a variable that defines a certain behavior for V-Ray at the system level, any user who logs to the system will see V-Ray operates operate in the same way.

UI Text Box
typetip

System variables are used when you need to define a certain software behavior for all users on the same system.

...

See the Useful Tips section of this article for a more extensive list of good practices and recommendations. 

Windows

1. Open the Edit the system environment variables window by either searching for it in the Start Menu or locating it in the Control Panel.

...

.bat (Windows) and .sh (Linux / macOS ) scripts are a very convenient way to start an application with a custom environment. In fact, this is the recommended approach for running our V-Ray Portable Installation.

As an example, here's a simple executable script that limits V-Ray Standalone to use only 4 CPU threads and then renders a scene:

...