Applies To: Windows Server 2008 R2,Windows Server 2008,Windows 7,Windows Vista

Provides a way to add comments to a script.

Syntax

 Copy Code
rem

Examples

In this example script, rem is used to provide a comment about what the script does:

 Copy Code
rem The commands in this script set up 3 drives.
rem The first drive is a primary partition and is
rem assigned the letter D. The second and third drives
rem are logical partitions, and are assigned letters
rem E and F.
create partition primary size=2048
assign d:
create partition extended
create partition logical size=2048
assign e:
create partition logical
assign f:

Additional references