rem
Records comments in a script, batch, or config.sys file. Windows commands reference
On Windows
Windows
Records comments in a script, batch, or config.sys file. If no comment is specified, rem adds vertical spacing. NOTE: This command is internal to the command-line interpreter, cmd.exe.
rem [<comment>]@echo offrem This batch program formats and checks new disks.rem It is named Checknew.bat.remrem echo Insert new disk in Drive B.pauseformat b: /v chkdsk b:rem Set prompt to indicate current directoryprompt $p$grem The commands in this script set up 3 drives.rem The first drive is a primary partition and is
<comment>Specifies a string of characters to include as a comment./?Displays help at the command prompt.