Home | Table of Contents | Environment Variables | CloverETL 4.6.1
--- | --- | ---
Prev | Parameters | Next

## Environment Variables

Environment variables are parameters that are not defined in CloverETL, 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}'

  | Important
  Use single quotes when referring to path environment variables, especially on Windows. This is necessary to avoid conflicts between double quotes delimiting the string value of the variable, and possible double quotes contained within the value itself.

- To get the value of a variable whose name contains dots (e.g, `java.io.tmpdir`), replace each dot with underscore character and type:

  `'${java_io_tmpdir} '`

  Note that the terminal single quote must be preceded by a white space since `java.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.

  | Important
  Use single quotes to avoid escape sequences in Windows paths.

Prev | Up | Next
Parameters with CTL Expressions (Dynamic parameters) | Home | Table of Contents | Canonicalizing File Paths