从损坏或有缺陷的磁盘恢复可读信息。 此命令读取文件、扇区并恢复来自良好扇区的数据。 坏扇区中的数据丢失。 由于恢复文件时,坏扇区中的所有数据都会丢失,因此一次只能恢复一个文件。
Bad sectors reported by the chkdsk command were marked as bad when your disk was prepared for operation. They pose no danger, and recover does not affect them.
Syntax
recover [<drive>:][<path>]<filename>
Parameters
Parameter | Description |
---|---|
[<drive>:][<path>]<filename> |
指定要恢复的文件名(如果该文件不在当前目录中)的位置。 Filename is required and wildcards aren't supported. |
/? | 在命令提示符下显示帮助。 |
Examples
To recover the file story.txt in the \fiction directory on drive D, type:
recover d:\fiction\story.txt