Chapter 6 / Command Reference
Examples
copy
b:read.dat
+
write.dat
+
print.dat
I
ENTER
I
appends the files Write.dat and
Print.dat
that
are
in the current
directory to the file Read.dat
that
is
in
the current directory of
Drive
B.
MS-DOS adds
an
EOF character to the end of Read.dat.
cop
Y b 1 9 . t 5 t H •
1st
I
ENTER
I
appends all files
that
have the extension .lst, and
that
are
in
the
current directory, the the file Big.tst,
that
also is
in
the current
directory. MS-DOS adds
an
EOF character to the end of Big.tst.
cop
y
pro
91
.
ex
e I b +
pro
92 .
ex
e I
ENTER
I
appends the file Prog2.exe'that is
in
the current directory to
the
file Progl.exe
that
also is
in
the current directory. MS-DOS
cop-
ies all information
in
the file. MS-DOS does not add
an
EOF
character to the end of Progl.exe.
copy
oldfile.dat
+
leaves the Oldfile.dat file intact,
but
updates the date and time
of the file to the current date and time.
58
I ,
; i
i
'--J
: I
--J
i I
, !
LJ
I !
I !
: I
I
, I
I ,
---'
I I
~
I
----'