r-
I '
Chapter 6 / Command Reference
.....
I '
RESTORE
External
Parameters
target drive: specifies
the
hard
disk drive to which you want to
restore.
Restores
one
or
more
files
from
diskettes
to
a
hard
disk.
RESTORE copies only files
that
were stored
on
diskettes using
the BACKUP command.
source drive:
specifies
the
drive
that
contains
the
backup
diskette.
pathname specifies
the
hard
directories and/or files you want to
restore.
RESTORE source drive: [target drive:]
pathname[lS][lP]
I@I~~
o
.......
r-'
I
L '
I"
i
r:
,
r
, '
r
/S
restores all files
in
the
directory specified by pathname
as
well as
its
subdirectories.
/P prompts before restoring read only files and files
that
have
been changed since
the
last
backup.
l'
I
!
Notes
and
Suggestions
• RESTORE works
best
if
BUFFERS= 5 (or greater)
in
the
CONFIG.SYS file (See Appendix
B).
• As long as you have a complete library of backup diskettes,
restoring your
hard
disk should be straightforward. Suppose
you
want
to restore
all
the
files
that
were backed up from all
directories on Drive
C.
Insert
the
first backup diskette into
Drive
A,
then
type:
l'
I
,
r
I
restore
A:
C:\/S
[ENTERI
•
If
you wish to restore several files
but
not
the
entire disk, as
in
the
previous example,
you
may
want
to create a
batch
file
consisting of
the
necessary backup commands. Then you
can
do
all
the
backups by simply
running
the
batch file.
r'
I
I
157