Инструменты пользователя

Инструменты сайта


en:autorun:documentation2x:getenv

GetEnv

GetEnv <variable> <environment variable name>

Gets the value of an existing environment variable. Unlike the standard notation with enclosing % signs, it allows you to get the value of any variables, including those whose names contain various special characters (brackets, percent signs, spaces, etc.)

Parameters

variableThe name of the variable to which the result of the command will be written.
environment variable nameName of environment variable being read.

Related

SetEnv

Remarks

The function also allows you to check if an environment variable exists. If the variable does not exist, the variable %ERROR% will be equal to 1.

en/autorun/documentation2x/getenv.txt · Последнее изменение: 2020/09/17 18:05 — 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki