NT Syntax

RECOVER

Recover a damaged file from a defective disk.

SYNTAX
      RECOVER [drive:][path]filename

Recover is designed to help in the case of hardware failure. When a drive fails the failure is not always total, in other words you may be able to read some of the files but not others, and some files will be only partly readable.

The data on a disk is stored in tracks and sectors in an almost random manner. Data stored in a bad sectors cannot be read.

RECOVER reads a file sector by sector and recovers data from the good sectors. You must specify a file.

Recover will not allow you to undelete a file.

Recover files one at a time; move each file to a good disk before editing to re-enter missing information.
In the case of complex documents you will probably lose formatting/graphics but will retain raw text.

"Whom the gods love dies young - Menander 300 BC

Related Commands:

CHKDSK
- Check Disk - check and repair disk problems

Equivalent Linux BASH commands:

cksum - Print CRC checksum and byte counts (can detect problems but not fix them)



Simon Sheppard
SS64.com