SetEnvironmentVariable command creates such a variable. If a variable with that name already exists, the command changes its value and description instead.
You cannot change the type of an existing environment variable. Specifying a different type makes the command return an error.
Parameters
Example of use
SetEnvironmentVariable /Project="D:\Banking_eng" /Name="ImportPath" /Value="D:\123"– For a local projectSetEnvironmentVariable /Project="https://localhost/1" /Name="ImportPath" /Value="D:\123"– For a project on a server
