Skip to main content
You can use an environment variable to specify a general setting for a project. You can use the SetEnvironmentVariable command to create such an environment variable. If an environment variable with the name you specify already exists, the command will change its value and description; otherwise, a new environment variable will be created.
You cannot change the type of an existing environment variable. If you specify a different type for an existing environment variable, the command will return an error.

Parameters

Example of use

  • SetEnvironmentVariable /Project="D:\Banking_eng" /Name="ImportPath" /Value="D:\123" – For a local project.
  • SetEnvironmentVariable /Project="https://localhost/1" /Name="ImportPath" /Value="D:\123" – For a project on a server.