Placeholders use the [Flex#%var%] format, where var is the name of an environment variable. You can use placeholders in filenames and folder names, and in text files.

Note: The Flex string in a placeholder is case-sensitive, but the name of the environment variable is not.

When importing a predefined settings file, FlexEngine automatically replaces placeholders in filenames and folder names with the environment variable to which they refer. If you use placeholders in the Registry\Flex Profiles.REG file, or in any .INI, .TXT, or .XML files in your predefined settings, FlexEngine automatically replaces those placeholders, too. If you use placeholders in any other file, the name of that file must contain [Flex#] to instruct FlexEngine to process the file contents. The [Flex#] token is removed on import and does not affect the filename.

Note:
  • When you use placeholders in .REG files, use the [Flex#%var%#reg] format to escape any backslashes and double quotes in the environment variable, in accordance with the .REG format.
  • For applications that refer to users through their security identifier (SID), use [Flex#%SID%].
  • When processing placeholders in text files, FlexEngine tries to determine the text encoding automatically. If the attempt fails, select the correct code page by using [Flex#codepage] in the filename.