Tandy 1000 MS-DOS Reference Manual page 167

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

r
I '
I
l
REM (REMARK)
~
REM
[remark]
I
Chapter 6 / Command Reference
Internal
Lets you include the specified remark in a batch file.
Parameters
remark is a message tl;lat a batch file displays during execution
if ECHO is on.
~
I
r--'
l
r
!
.
~
i '
n
i
'
r
! :
r
I
'
I
Notes and Suggestions
• You can use REM to remind you of the file's name and use,
keep track of what a particular command is doing, or include
warnings in the file.
Examples
rem Thi5 flle i5 called billfile.bat
I
ENTER
I
The REM statement is displayed if ECHO is on.
rem pathname1 replace5 r,1, pathname2 replace5
r,2
displays the REM statement as a message if ECHO is on.
cop y con 3 d i r . bat
I
ENTER
I
rem Thi5'file di5plaY5 directory l15ting5 for
r, 1, r, 2, and r, 3
I
ENTER
I
rem it i5 called 3dlr.bat
I
ENTER
J
for r, H
I N 0 1 r, 2 B) DOD I R r, r, f
I
ENTER
I,
m:::J [
ENTER
J
The above command creates a batch file that, when executed,
first reminds you to replace parameters %1, %2, and %3 when
executing the file. The second remark simply reminds you of the
file's name.
153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents