c:
[~
Backup
Purpose:
Backs
up
one
or
more files from
one
disk
to
another.
Syntax:
backup
[drive:][pathname] [drive:] [/s][/m][/a]
[/d:date]
[/t:time][lL/ilename]
Comments:
The
backup
command can back
up
files
on
disks
of
different
media. For example, you can back
up
files from:
• Hard disk
to
floppy disk
• Floppy disk
to
floppy disk
• Floppy disk
to
hard disk
• Hard disk
to
hard disk
This command also backs
up
files from
one
floppy disk
to
another
even
if
the
disks have a different
number
of
sides
or
sectors.
The first drive: option
is
the
name
of
the
disk drive that you
want
to
back up. The second drive: option is
the
name
of
the
backup
disk drive. You should note that unless you specify
the
/a
option,
backup
erases the old files
on
a backup disk before adding
new
files
to
it.
This
backup
program and
the
one
supplied by
IBM®
are com-
patible. File and disk formats are
the
same
as
those that
the
IBM
backup
program uses unless you
set
the
IL
switch, which is
described in
the
following list.
MS-DOS Commands
291
Backup