Microsoft KB Archive/75786

From BetaArchive Wiki

Article ID: 75786

Article Last Modified on 11/16/2006



APPLIES TO

  • Microsoft MS-DOS 3.3 Standard Edition
  • Microsoft MS-DOS 4.0 Standard Edition
  • Microsoft MS-DOS 4.01 Standard Edition
  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 5.0a
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition



This article was previously published under Q75786

SUMMARY

If use the RESTORE command and specify the drives only (for example, RESTORE A: C:), the following error message is displayed:

WARNING! No files were found to restore.

MORE INFORMATION

The RESTORE command must have the complete path and filename of the file(s) that are to be restored. The RESTORE command restores the file(s) and directories just as they were before the BACKUP. Wildcards and switches may be used as substitutes.

The following examples illustrate different wildcards and switches that may be used with the RESTORE command, and the results of the given command. The drives used in the examples may be replaced by any other legitimate drive (including a RAM drive).

RESTORE A: C:\*.*

Restores files that were backed up from the root directory. Note: This command will return the following error message if only subdirectories were backed up:


WARNING! No files were found to restore.

RESTORE A: C:\ /S

Restores all subdirectories and their files from the given backup.


RESTORE A: C:\*.* /S

Restores all files in root directory and all files in subdirectories for the given backup.


RESTORE A: C:

Restores all files backed up from the current directory of drive C.


REFERENCES

"Microsoft MS-DOS User's Guide and Reference," version 5.0, pages 555-557.

"Microsoft MS-DOS User's Guide," version 4.01, pages 119-120.


Additional query words: 6.22 3.30 4.00 4.01 4.01a 5.00 5.00a 6.00 6.20

Keywords: KB75786