help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RESTORE--Examples
Syntax  Notes
────────────────────────────────────────────────────────────────────────────
 
                             RESTORE──Examples
 
To restore the file INVEST.MNT from the backup disk in drive A to the IRS
directory on drive C, type the following command:
 
    restore a: c:\irs\invest.mnt
 
MS-DOS prompts you to insert the backup disk into drive A. Once the backup
disk is in drive A, press ENTER to continue.
 
Suppose you backed up all of the files in the directory \USER\ADAMS on drive
C. To restore these files, insert the backup disk in drive A and type the
following command:
 
    restore a: c:\user\adams\*.*
 
It is important that you specify *.* for filename. Otherwise, the RESTORE
command attempts to restore a file named ADAMS in the USER directory.
 
To restore a complete hard disk from a backup disk (or disks) in drive A,
type the following command:
 
    restore a: c:\*.* /s
 
The /S switch and the wildcards (*.*) specify that RESTORE is to restore all
backed-up files to their original directories and subdirectories on drive
C.
 
                                      ♦