DOS - (Rem|Remarks|Comments)

Card Puncher Data Processing


Comments can be added to batch script by using:

  • the rem command
  • or the alias :: (The alias cannot be added in a block (A if block for instance


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

help rem


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


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

Discover More
Card Puncher Data Processing
Dos - Echo

Displays messages, or turns command-echoing on or off. escape Just add the special characters bracket or period just after the echo command You can echo in color with color terminal escape sequence...

Share this page:
Follow us:
Task Runner