Published: April 17, 2012
Updated: April 17, 2012
Applies To: Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista
Provides a way to add comments to a script.
In this example script, rem is used to provide a comment about what the script does:
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: