How can I access system environment variables?

Answered

Comments

1 comment

  • Avatar
    Jake

    You can access any system environment variable using the ${env(varname)} construct, where varname is the name of a system environment variable. For example, on Windows you can refer to the system drive with ${env(SYSTEMDRIVE)} and in Unix to the user home directory with ${env(HOME)}

Please sign in to leave a comment.