What Does RECOVER Do?

This article was previously published under Q67223
This article has been archived. It is offered "as is" and will no longer be updated.
If a file or part of a file on a disk is located on a bad sector, theRECOVER command is designed to retrieve the undamaged portion(s) ofthe file. The data that was in the bad sector will be gone. To recovera file named A:\MYFILE.TXT, type the following from the C:\DOS> prompt:
If the root directory of a disk is damaged, RECOVER can also be run onan entire disk. DO NOT, however, run RECOVER on the entire disk unlessthe root directory IS damaged. When RECOVER is run on an entire diskdrive, it assumes that the current root directory is damaged anduseless. ALL of the files on the entire disk are recovered, renamed,and placed in the root directory. The entire subdirectory structure ofthe disk is destroyed by this process.

Each subdirectory is converted into a file that contains the dataabout that subdirectory and is placed in the root directory as well.

The root directory of a disk has a limit to the number of files it cancontain, and on most hard disks this limit is 512. It is not alwayspossible for all files to be recovered, and the nonrecovered filesbecome lost chains. The 512 recovered files should be copied to floppydisks and then deleted from the hard disk, and CHKDSK can then be usedto convert the lost chains into files.

The "Microsoft MS-DOS User's Reference" for versions 3.x and 4.xincorrectly states that RECOVER should be run if CHKDSK reports badsectors. For more information on this topic and on using RECOVER onhard disks, query on the following words:
ms-dos and recover and chkdsk
3.20 3.21 3.30 3.30a 4.00 4.01 5.00 noupd

Article ID: 67223 - Last Review: 10/26/2013 11:42:00 - Revision: 4.0

  • Microsoft MS-DOS 5.0 Standard Edition
  • kbnosurvey kbarchive KB67223