About
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
Articles Related
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.