DOS - (Rem|Remarks|Comments)

1 - About

Comments can be added to batch script by using:

  • the rem command
  • or the alias :: (<note warning>The alias cannot be added in a block (A if block for instance</note>)

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

help rem

3 - Example

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

4 - Support

4.1 - ) 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.

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap