Environment Variables

From RAD Studio
Jump to: navigation, search

Go Up to Tour of the IDE


Tools > Options > IDE > Environment Variables

Use this page to view system environment variables and to create, edit, and delete user overrides.

Attention: For additional details about RAD Studio environment variables, please refer to the Defined Environment Variables article.
Item Description

System Variables

Lists all environment variables and their values defined at a system level. You cannot delete an existing system variable, but you can override it.

BDS is one of the variables displayed in this dialog box. The BDS environment variable represents the installed location of RAD Studio.

For example, to use the BDS environment variable to specify the source directory, enter:

$(BDS)\source

This expression could expand for example to C:\Program Files (x86)\Embarcadero\Studio\23.0\source.

User System Overrides

Lists all defined user overrides and their values. A user override takes precedence over an existing system variable until you delete the user override.

Add System Override

Displays the Override System Variable dialog box, allowing you to modify an existing system variable to create a new user override. This button is dimmed until you select a variable in the System variables list.

New

Displays the New User Variable dialog box, allowing you to create new user override to a system variable.

Edit

Displays the Edit User Variable dialog box, allowing you to change the user override currently selected in the User overrides list.

Delete

Deletes the user override currently selected in the User overrides list.

Note:
  • To specify operating-system environment variables in an edit box, use the following syntax: $(VariableName).
  • The $(Config) variable resolves to the specific configuration that is set in the Target field on the specific Project Options page where $(Config) is specified, for example Delphi Compiler. If you specify $(Config) in a path and then build your project with a Debug configuration as the Target, $(Config) includes only the Debug directory, and the build can miss any elements that exist solely in the Release directory.

See Also