Table of Contents

DOS - (Rem|Remarks|Comments)

About

Comments can be added to batch script by using:

To get more information on Rem, type in your console:

help rem

Example

@echo on
Rem You will never see this comment even with echo on
:: Neither this one

Support

) was unexpected at this time

If you use the comment alias :: in a block (if block), you may get this error:

) was unexpected at this time.

In an block, use the command REM instead.