It's programming time!/Batch/Rem

From Create Your Own Story

(Difference between revisions)
Underside (Talk | contribs)
(Created page with '==Rem== <div style="background-color:rgb(245,245,245);"> The REM command is used to add comments to your batch files. They get skipped over when it runs. It allows you to add inf…')
Next diff →

Revision as of 01:47, 16 July 2016

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