Env

Previous Next

The Env Rules Engine property may be used to get the value of one of the environment variables listed when you type the set command in a Windows command-line box.

Getting this property

You can get the current value of an environment variable by executing:

SELECT RulesEngine.GetProperty( 'Env environment-variable' )

This entire statement is case-insensitive, including the property name and the name of the environment variable.

Example

SELECT RulesEngine.GetProperty( 'Env computername' )

 

See also

Rules Engine properties

RulesEngine.GetProperty