Platform SDK: Group Policy

Comments and Strings

Comments can be added to an .adm file by preceding the comment text with two forward slashes (//) or a semicolon (;). Comments can be placed at the end of any valid line.

You can add string variables to an .adm file by preceding the text with two exclamation points (!!). This allows you to define long strings once and use them in multiple locations in the .adm file. This also allows easier localization of the .adm file. Each of the strings is explicitly defined in the [strings] section of the .adm file. The strings must be enclosed in quotation marks. Variable names and hard-coded strings may optionally be enclosed in quotation marks. However, names and strings with spaces must be enclosed in quotation marks.

See Also

Group Policy Overview, Group Policy File Formats