recover (command)

From Wikipedia, the free encyclopedia

Page Module:Infobox/styles.css has no content.

recover
[[Programmer|Original authorTemplate:Pluralize from text]]Chris Peters
[[Programmer|DeveloperTemplate:Pluralize from text]]Microsoft, IBM, Digital Research, Novell, Imre Leber
Initial release1983, 42–43 years ago
Template:Infobox software/simple
Written inMS-DOS: x86 assembly language
EnginePage Template:Plainlist/styles.css has no content.Template:EditAtWikidata
Operating systemMS-DOS, PC DOS, SISNE plus, OS/2, eComStation, ArcaOS, Windows, DR DOS, FreeDOS
PlatformCross-platform
TypeCommand
LicenseMS-DOS: MIT
FreeDOS: GPL
Websitedocs.microsoft.com/en-us/windows-server/administration/windows-commands/recover
RepositoryPage Template:Plainlist/styles.css has no content.

Script error: No such module "Check for conflicting parameters".

In computing, recover is a primitive file system error recovery utility[1] included in MS-DOS / IBM PC DOS versions prior to DOS 6.0[2] and a number of other operating systems.

Overview

Typing recover at the DOS command-line invoked the program file Page Template:Mono/styles.css has no content.RECOVER.COM or Page Template:Mono/styles.css has no content.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 "Page Template:Mono/styles.css has no content.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.[3]

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.[4]

DR DOS 6.0 includes an implementation of the recover command.[5] The command is also available on SISNE plus[6] and IBM OS/2.[7] The FreeDOS version was developed by Imre Leber and is licensed under the GPL.[8]

See also

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."Recover - Restore damaged data - Windows CMD - SS64.com". ss64.com.
  2. ^ Page Module:Citation/CS1/styles.css has no content."MS-DOS 5.0 Internal and External Commands". support.microsoft.com. Archived from the original on 2007-02-06.
  3. ^ Page Module:Citation/CS1/styles.css has no content."Explore captures for this URL". Archived from the original (TXT) on 2012-04-26.
  4. ^ DOS 5 User's Guide by Dan Gookin (1991), Template:ISBN, p. 602.
  5. ^ DR DOS 6.0 User Guide Optimisation and Configuration Tips
  6. ^ Page Module:Citation/CS1/styles.css has no content."SISNE plus - Referência Sumária | Datassette". Archived from the original on 2019-09-28. Retrieved 2019-09-28.
  7. ^ Page Module:Citation/CS1/styles.css has no content."JaTomes Help - OS/2 Commands". www.jatomes.com. Archived from the original on 2019-04-14.
  8. ^ Page Module:Citation/CS1/styles.css has no content."FreeDOS 1.2 Updates Package - recover (FreeDOS Base)". Ibiblio.org. 2004-02-07. Retrieved 2022-09-04.

Further reading

Page Module:Side box/styles.css has no content.Page Template:Sister project/styles.css has no content.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.