Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 35

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Model II
TRSDOS
APPEND
Append files
APPEND
copies the contents
offile-1
onto the end of
file-2. file-1
is unaffected,
while
file-2
is extended to include
file-1.
The file types (V or F) and record
lengths (for fIxed length record files) must match. See DIR for more
information on file types and record lengths.
Examples
APPEND Wordfile/2 TO Wordfile/l
A
copy
OfWordfile/2
is appended to
Wordfile/l.
APPEND REGION1/DAT,TOTAL/DAT.9uess
A
copy
OfREGION1/DAT
is appended to
TOTALjDAT,
which is protected with
the password
guess.
Sample Uses
Suppose you have two data files,
PAYROLL/A
and
PAYROLL/B.
.~
\
Lewis,
G.E.
Miller, L.O.
Peterson, B.
Rodriguez, F.
PAYROLL/A
Atkins, W.R. .
.
Baker, J.B
.
Chambers, c.P. .
.
Dodson, M.W
.
Kickamon, T.Y
.
You can combine the two files with the command:
PAYROLL/B
APPEND PAYROLL/B TO PAYROLL/A
68

Advertisement

loading