home *** CD-ROM | disk | FTP | other *** search
/ The CIA World Factbook 1992 / k3bimage.iso / sel / 04 / 0034 / iso_0070.iso < prev    next >
Encoding:
Text File  |  1991-12-02  |  2.1 KB  |  49 lines

  1. Command:  BACKUP                        Type: DOS external command
  2.  
  3. Purpose:  Backs up one or more files from one disk to another
  4.  
  5. Syntax:   BACKUP [drive1:][path][filename] [drive2:]
  6.           [/s][/m][/a][/f][/d:date][t:time] [/L:[[drive:[path]filename]]
  7.           where:
  8.                drive1 is the drive that you want to back up
  9.                drive2 is the target drive to which the files are backed up
  10.  
  11. Comments: The backup command can back up files on disks of different media
  12.           (hard disks and floppy disks). Backup also backs up files from one
  13.           floppy to another, even if the disks have a different number of
  14.           sides or sectors.
  15.  
  16. Switches:
  17.           /s        Backs up subdirectories
  18.  
  19.           /m        Backs up only those files that have changes since the
  20.                     last backup
  21.  
  22.           /a        Adds the files to be backed up to those already on the
  23.                     backup disk. It does not erase old files on the backup
  24.                     disk. This switch will not be accepted if files exist
  25.                     that were backed up using backup from MS-DOS version 3.2
  26.                     or earlier.
  27.  
  28.           /f        Causes the target disk to be formatted if it is not
  29.                     already. For this switch to function, the MS-DOS format
  30.                     command must be acessable by the current path.
  31.  
  32.           /d:date   Backs up only those files that last modifued on or after
  33.                     date.
  34.  
  35.           /t:time   Backs up only those files that last modifued on or after
  36.                     time.
  37.  
  38.           /L:filename    Makes a backup log entry in the specified file. If
  39.                     you do not specify filename, backup places a file called
  40.                     backup.log in the root directory of the disk that
  41.                     contains the files being backed up.
  42.  
  43. Exit Codes:
  44.           0    Normal completion
  45.           1    No files were found to back up
  46.           2    Some files not backed up due to sharing conflicts
  47.           3    Terminated by user
  48.           4    Terminated due to error
  49.