@EXPAND

Windows Linux macOS

Syntax

@EXPAND()

Description

This function takes a string containing unexpanded environment variables and returns a string into which all environment variables have been substituted.

This function is useful for expanding Registry string values of type "ExpandString" .

OK

Set to false and the unexpanded string is returned if the function fails.

See also