lao
MS-DOS User's Reference
Replacing files
Adding flies
As mes are replaced
or
added,
replace
displays
the
menames
on
the
screen; then at
the
conclusion
of
the
replace
operation,
it displays a summary line:
NNN
file(s)
added/replaced
or:
No
files
added/replaced
L
Note You cannot use
the
replace
command
to
update hidden
mes
or
system
meso
L
Examples:
Suppose your hard disk, drive
C,
contains several
old
mes named
phones.
eli
that contain client names and
phone
numbers.
To
update these files and replace
them
with
the
latest version
of
the
phones.
eli
me
on
the
disk in drive A, you
would
type
the
follow-
ing command:
replace
a:\phones.cli
c:\
/5
This command replaces every file
on
drive C
that
is named
phones.eli
with
the
me
phones.
eli
from
the
root
directory
on
drive
A.
Suppose you
want
to
add some
new
printer device drivers
to
a directory called
c:
\mstoois, which already contains several
printer
driver mes for a
word
processor.
To
do
this, you
would
type
the
following:
replace
a:*.prd
c:\mstools
/a
This
command
searches
the
default directory
of
drive A for any
files
that
have
the
extension
.prd
(that
don't
currently exist in
the
\ mstoois directory
on
drive
C)
and
then
adds these mes
to
c:
\ mstools.