Restore Ü
ßßßßßßßß
Restores files that were backed up with the backup command. You can
restore files from similar or dissimilar disk types.
Syntax: RESTORE drive1: drive2:[path[filename]] [/S] [/P] [/B:date]
[/A:date] [/E:time] [/L:time] [/M] [/N] [/D]
drive1:
Specifies the drive on which the backed-up files are stored.
drive2:
Specifies the drive to which the backed-up files will be restored.
path
Specifies the directory to which the backed-up files will be
restored. You must specify the same directory from which the
files were backed up.
filename
Specifies the names of the backed-up files you want to restore.
/S Restores all subdirectories
/P Prompts you for permission to restore files that are read-only
(that have the read-only attribute set) or that have changed
since the last backup (that have the archive attribute set).
/B:date
Restores only those files last modified on or before the
specified date. The format of date varies according to the
country setting in your CONFIG.SYS file.
/A:date
Restores only those files last modified on or after the specified
date. The format of date varies according to the country
setting in your CONFIG.SYS file.
/E:time
Restores only those files last modified at or later than the
specified time. The format of time varies according to the
country setting in your CONFIG.SYS file.
/M Restores only those files modified since the last backup.
/N Restores only those files that no longer exist on the
destination disk.
/D Displays a list of files on the backup disk that match those
specified in filename, without restoring any files. You must
still specify drive2 when you use /D.
Checking restored files
Once a file has been restored, you can use the dir or type command to
make sure the file was restored properly.
Limitations
You cannot use restore to restore system files (e.g. KERNEL.SYS).
Restore does not work with drives that have been redirected with the
assign, join, or subst command.
See Also:
Country
Date
Time