home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / restore / examples.hlp next >
Encoding:
Text File  |  1989-01-01  |  1.8 KB  |  42 lines

  1. SAMPLE command and resulting output    | Comments about the output
  2.  
  3.   RESTORE A: C:\ /S             Here we are restoring all files and
  4.                      directories (/S) from the diskette in
  5. Insert backup diskette 01 in drive A:    drive A: to drive C:.  Remember,
  6. Strike any key when ready                there may be many BACKUP diskettes.
  7.                      RESTORE will not restore any files
  8.                      until you press the Enter, Return, 
  9.                      or <──┘ key.
  10.  
  11. *** Files were backed up 01/01/88 ***     DOS stops and asks you to insert
  12.                      backup diskette 01, then proceeds to
  13. *** Restoring files from diskette 01 *** RESTORE the files.
  14. \FILE1.BAS
  15. \FILE2.TXT                 When diskette 01 has been read, 
  16. \LETTER.DOC                 RESTORE will ask you for the next 
  17. \PROGRAMS\TUTOR.BAS             backup diskette and so on.
  18. \PROGRAMS\TUTOR.EXE
  19. \SALES\REPORT.TXT             To restore a particular file, just
  20.    .                     specify the filename.  You don't have
  21.    .                     to use diskette 01 to start the
  22.    .                     RESTORE for a particular file if you
  23.                      know what diskette the file is on.
  24.  
  25.  
  26.   RESTORE A: C:\PROGRAMS\*.BAS           Here we are restoring only the 
  27.                      files in the PROGRAMS directory 
  28.                      that have the .BAS extension from
  29.                      the diskette in disk drive A:.
  30.  
  31.   RESTORE A: C:\ /P                      This will cause all files from 
  32.                      the diskette in disk drive A: to
  33.                      to be restored to the root directory
  34.                      on drive C: EXCEPT those marked 
  35.                      read-only on drive C: and those
  36.                      which have been modified since the
  37.                      backup copy was made. For each of
  38.                      those files, you will be asked if
  39.                      want to restore from the diskette,
  40.                      overriding the read-only status or
  41.                      overwriting the later information.
  42.