home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / batch / rem.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  23 lines

  1.                              REM
  2.  
  3. The REM internal command is used with BATCH processing to enter a remark or 
  4. comment about something in the BATCH file. It can be typed directly from the 
  5. keyboard, but is usually pointless. (However, see below.) If ECHO is on, it 
  6. will display the remark during the execution of the BATCH file.  
  7.  
  8.     REM [remark]
  9.  
  10. remark need not be present. It is any alphanumeric string, including spaces, 
  11.     tabs, or commas, of up to 123 characters. 
  12.  
  13. Don't use redirection or piping characters in the [remark], unless they are
  14. enclosed by double quotes ("). You can use %, and the parameter or variable 
  15. replacement will occur. 
  16.  
  17. One case when typing REM directly from the keyboard is useful is:
  18.  
  19.     REM > EMPTYFIL
  20.  
  21. which can be used to create a new file with nothing in it, or delete the 
  22. previous contents of an existing file, without deleting the file. 
  23.