RECOVER+Recovering Damaged Files

Recovers damaged files.

VERSION

PC-DOS 2.0+

MS-DOS equivalent: RECOVER (2.0+)

TYPE

External

SYNTAX

[d:][path] RECOVER [rd:][rpath]rfilename

or

[d:][path] RECOVER rd:

OPTIONS

[d:][path] Specifies the drive letter and

directory path that contain

the RECOVER command file.

[rd:][rpath]rfilename Specifies the file to be

recovered.

RECOVER is used when you receive a "bad sector" error

message to recover a damaged file. In using this command, you

recover the data in a file with the bad sector minus the data in

the bad sector.

EXAMPLES

RECOVER B:REPORT2

recovers the file in drive B named REPORT2.

RECOVER A:

recovers all of the files on the disk in drive A.

MESSAGES

Cannot RECOVER to a network drive

You cannot use the RECOVER command on a network drive. Pause the

fileserver and then issue a RECOVER command again.

Warning - directory full

xxx file(s) recovered

There is not enough space in the directory. Copy some of its

files onto another disk and then reissue the RECOVER command.

NOTE

When you use RECOVER, it creates a new file with the same

name that contains all the data in the original file except the

data that was located in bad sectors. Also, RECOVER will not

recover files that have been erased. If you use RECOVER on a disk

that has a bad sector in its directory, each file name will have

the form FILEnnn.REC, with the number nnn indicating the order in

which the files were recovered. You will have to rename each file

on the recovered disk by determining the contents of each file

and naming it again. Wildcards may be used, but only the first

matching file name will be used. Once you have used RECOVER,

there is no way to reverse the recovery process.

------------------------------------------------------------------

[For related topics, press R]

SEE ALSO

CHKDSK Command

COMP Command

DISKCOMP Command

DISKCOPY Command