Backup
BACKUP [d:][path][filename]
[d:][/S][/M][/A][/F:(size] [/P][/D:date] [/T:time] [/L:[d:][path]filename]
Makes a backup copy of one or more files.
The first path and filename(s) you enter identify the disk file(s) to
be backed up. The second drive specified is the drive where the backup
copy will be sent.
Options
/A - Does not erase the files on the target disk .
/F:(size) Formats the target disk (if it is not already formatted).
/L Makes an entry in the backup
log in the file you specify here.
/M Only backs up files that
have been modified since the last time the BACKUP command was used.
/P Packs as many files as
possible onto each diskette. This option will create a directory when
that is the only way to pack more files onto the diskette.
/S Causes files in the specified directory and all subdirectories below
the specified directory to be backed up.
/D:(date) Backs up files only if they have been created or modified on
or after the date you enter.
/T:(time) Backs up files only if they have been created or modified on
or after the time you enter.
Example
backup c:\Dir1\sale*.* a:
|