REM

(from Record Message)

Logs comments in a batch file (or in CONFIG.SYS).

REM [comment]

Where:

  • comment - Specifies the comment to record.

The comment is used to explain the function of the batch file, a command, or the properties of the batch file. In fact, it can be used to comment on anything. The comment is not displayed during the execution of the batch script (as long as ECHO is turned off, see ECHOECHO).

Esempio: Log the comment No comment!:

rem No comment!

Comments