Condividi tramite


Comments and Strings

Comments can be added to an .adm file by preceding the comment text with a semicolon (;). Comments can be placed above the [strings] section at the end of any valid line in the body of the .adm file.

You can add string variables to an .adm file by preceding the text with two exclamation points (!!). Doing so allows you to define long strings once and use them in multiple locations in the .adm file, which in turn fosters 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 blank spaces must be enclosed in quotation marks.

Note

You cannot add a comment to the end of a string.

 

Group Policy Overview

Group Policy File Formats