Commodore PC Ms-Dos 3.2 User's Manual page 187

Table of Contents

Advertisement

n
n
n
n
n
n
Batch Processing 115
Rem
Purpose:
During execution of a batch file, rem displays remarks that are on
the same line as the rem command in that batch file.
Syntax:
rem [comment]
Comments:
The comment parameter is a line of text that helps you identify
and remember what your batch file does.
The only separators allowed in the comment are spaces, tabs, and
commas.
In your batch file, you can use rem without a comment to add
spacing for readability.
Example:
The following example shows a batch file that uses remarks for
both explanation and spacing:
Rem
i
Using remarks
in a batch file
This
file
formats
and
checks
new
disks
It
is
named
checknew.bat
rem
rem
rem
pause
Insert
new
disk
in
drive
B
format
B:
/v
chkdsk
B:
n
n
n
n

Advertisement

Table of Contents
loading

Table of Contents