home *** CD-ROM | disk | FTP | other *** search
- REM
-
- The REM internal command is used with BATCH processing to enter a remark or
- comment about something in the BATCH file. It can be typed directly from the
- keyboard, but is usually pointless. (However, see below.) If ECHO is on, it
- will display the remark during the execution of the BATCH file.
-
- REM [remark]
-
- remark need not be present. It is any alphanumeric string, including spaces,
- tabs, or commas, of up to 123 characters.
-
- Don't use redirection or piping characters in the [remark], unless they are
- enclosed by double quotes ("). You can use %, and the parameter or variable
- replacement will occur.
-
- One case when typing REM directly from the keyboard is useful is:
-
- REM > EMPTYFIL
-
- which can be used to create a new file with nothing in it, or delete the
- previous contents of an existing file, without deleting the file.