Add-EnvironmentPath
Add-EnvironmentPath
This command supplements the path information stored in the PATH-environment variable.
Settings:
- PATH extension
Directory path to be added to the PATH The use of variables is possible. Use the "..." button to select an existing directory (on the packaging system) or enter the path manually. - Insert extension at the beginning of PATH statement
Since some applications can only evaluate a certain number of characters of the PATH environment variable, this option allows to insert the new path at the beginning. If the option is not activated, the path is appended to the end. - Use 32-Bit mode on x64 computer
If the script is executed on a 64-bit operating system, the counterpart for 32-bit applications SysWOW64 can be used automatically when referring to the SYSTEM32 directory.
Example:
The example adds the path to the Packaging PowerBench to the PATH environment variable so that it can be called without specifying the full installation directory..
Corresponds to DSM eScript command:
- AppendPath
See also: