Defined Environment Variables

From RAD Studio
Jump to: navigation, search

Go Up to Environment Variables


Tools > Options > IDE > Environment Variables

RAD Studio defines the following Environment Variable for your use and allows you to override any environment variable using the User System Overrides variables.

Processes started by RAD Studio, which includes your apps when run from the IDE such as when debugging, inherit the system environment variables (including overrides) defined here. This means you can set up environment variables to be used when developing your app, which can be different from when users run your app.

Tip: If your app ever has trouble finding files or similar behavior when running outside the IDE but not when running from the IDE, checking the environment variables and overrides is a good place to start looking for a cause.
Environment Variable Default Value Description
BCB c:\program files (x86)\embarcadero\studio\23.0 The installation location for C++Builder, if the C++Builder personality is installed (the same as the RAD Studio installation location). Only set when running the IDE using the combined RAD Studio or C++Builder personality.
BDS c:\program files (x86)\embarcadero\studio\23.0 The installation location for RAD Studio.
BDSBIN c:\program files (x86)\embarcadero\studio\23.0\bin The folder contains executable (EXE) files, such as the IDE, compilers, linkers, and other binaries.
BDSCatalogRepository C:\Users\[User]\Documents\Embarcadero\Studio\23.0\CatalogRepository The folder where GetIt stores each package in subfolders of this directory.
BDSCatalogRepositoryAllUsers C:\Users\Public\Documents\Embarcadero\Studio\23.0\CatalogRepository This is used for GetIt packages installed for all users, not just the current user account.
BDSCOMMONDIR C:\Users\Public\Documents\Embarcadero\Studio\23.0 General folder for user-specific files. For example, styles are installed in a subfolder, another subfolder is the default location for packages, and so on.
BDSINCLUDE C:\program files (x86)\embarcadero\studio\23.0\include The base folder for C++ include files, which has multiple subfolders for different groups of include files. For example, include\windows\vcl.
BDSLIB C:\program files (x86)\embarcadero\studio\23.0\lib The base folder for C++ linking files, both DCUs and BPIs (dynamically linked package import libraries), which has multiple subfolders for various groups of libraries. For example, lib\win64\release contains the release build versions for the Win64 toolchain.
Note: Your project uses the correct subfolder automatically.
BDSPLATFORMSDKSDIR C:\Users\User\Documents\Embarcadero\Studio\SDKs Location for SDKs, which are stored in subfolders.
BDSPROJECTSDIR C:\Users\User\Documents\Embarcadero\Studio\Projects Default folder where the IDE saves projects.
BDSUSERDIR C:\Users\[User]\Documents\Embarcadero\Studio\23.0 Folder for user-specific files that the IDE stores.
DELPHI C:\program files (x86)\embarcadero\studio\23.0 The installation location for Delphi, if the Delphi personality is installed (the same as the RAD Studio installation location). Only set when running the IDE using the combined RAD Studio or Delphi personality.
IBREDISTDIR C:\Users\Public\Documents\Embarcadero\InterBase\redist\InterBase2020 Interbase redistributables folder.
PATH A system environment variable, but one that can often be changed (other paths appended) for processes running under the IDE.
DEMOSDIR C:\Users\Public\Documents\Embarcadero\Studio\23.0\Samples Location of the demo apps that are installed with the product. Many more are available on our GitHub.

See Also