Recover
Updated: January 21, 2005
Syntax
Parameters
Remarks
- The recover command reads a file sector by sector and recovers data from the good sectors. Data in bad sectors is lost.
-
Limitation on [Drive:][Path]FileName
You cannot use wildcards (* and ?) with the recover command. You must specify a file.
- Reentering lost data
Because all data in bad sectors is lost when you recover a file, you should recover files one at a time. You can use this method to edit each file and reenter missing information after you recover the file.
- Recovering bad sectors
Bad sectors reported by chkdsk were marked as "bad" when your disk was first prepared for operation. They pose no danger, and recover does not affect them.
Examples
recover d:\fiction\story.txt
Formatting legend
Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |