Environment Variables
Environment variables are parameters that are not defined in Data Shaper, they are defined in the operating system.
You can get the values of these environment variables using the same expression that can be used for all other parameters.
- To get the value of environment variable called
PATH
, use the following expression:
'${PATH}'
- To get the value of a variable whose name contains dots (e.g,
java.io.tmpdir
), replace each dot with an underscore character and type:
'${java_io_tmpdir} '
Note that the terminal single quote must be preceded by a white space sincejava.io.tmpdir
itself ends with a backslash and we do not want to get an escape sequence (\'
). With this white space we will get\ '
at the end.
Updated about 1 year ago