|Developer(s)||Microsoft, IBM, Imre Leber|
|Initial release||1983, 35–36 years ago|
|Operating system||MS-DOS, IBM PC DOS, OS/2, Microsoft Windows, FreeDOS|
recover at the DOS command-line invoked the program file RECOVER.COM or RECOVER.EXE (depending on the DOS version). Recover proceeded under the assumption that all directory information included on a disk or disk partition was hopelessly corrupted, but that the FAT and non-directory areas might still contain useful information (though there might be additional bad disk sectors not recorded in the FAT).
The program removed all subdirectories and all entries in the root directory, and then created new files with names such as "FILE0001.REC" in the root directory, corresponding to the valid allocation chains that were found in the FAT area (excluding disk clusters that were tested and found to have hardware errors). A formerly bootable disk would no longer be bootable after Recover had executed. The range of circumstances in which Recover was genuinely useful was quite limited, and well-meaning DOS users sometimes created havoc by running Recover under the misconception that it was a file undelete utility.
In DOS version 5, another mode of operation was added: specifying a single filename on the command line would cause the program to test all the disk sectors used to store the file, and shorten the file by omitting sectors which tested bad.
- DOS 5 User's Guide by Dan Gookin (1991), ISBN 1-55851-188-1, p. 602.
- Cooper, Jim (2001). Special Edition Using MS-DOS 6.22, Third Edition. Que Publishing. ISBN 978-0789725738.
- John Paul Mueller (2007). Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000. John Wiley & Sons. ISBN 978-0470165799.
|Wikibooks has a book on the topic of: Guide to Windows Commands|