recover
Recovers readable information from a bad or defective disk. This command reads a file, sector-by-sector, and recovers data from the good sectors. Data in bad sectors is lost. Because you lose all data in bad sectors when you recover a file, you should recover only one file at a time. .When your disk was prerpared for operation, the chkdsk app marked the sectors reporting as bad as bad.
Syntax
recover [<drive>:][<path>]<filename>
Parameters
Parameter | Description |
---|---|
[<drive>:][<path>]<filename> |
Specifies the file name (and the location of the file if not in the current directory) you want to recover. This app requires the parameter Filename and does not support wildcards. |
/? | Displays help at the command prompt. |
Examples
To recover the file story.txt in the \fiction directory on drive D, type:
recover d:\fiction\story.txt
Recover lost files on Windows 10
Important: If you want to increase your chances of recovering a file, minimize or avoid using your computer. In the Windows file system, the app marks the space used by a deleted file as free space, which means the file data can still exist and you can recover it. But any use of your computer can create files, which may over-write this free space at any time.