It's programming time!/Batch/Rem

From Create Your Own Story

< It's programming time! | Batch
Revision as of 02:33, 16 July 2016 by Underside (Talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)

Rem

The REM command is used to add comments to your batch files. They get skipped over when it runs. It allows you to add information that doesn't need to be displayed when it's run but can be helpful when editing the file.

If you make a file you can leave reminders for yourself:

  1. Try out the following if you really need an example:
@echo OFF
rem @echo OFF is a good line to start your batch files with.

rem Blank lines don't matter. It's fine if you leave them in.

help echo
rem You can usually use help command name to learn about a command.

pause

Remember: This file is mostly comments. It doesn't really do much.

Personal tools