Command: unformat
UNFORMAT tries to restore a disk that has been formatted
by using the MS-DOS / FreeDOS command "format drive: /q".
Syntax:
UNFORMAT drive [/J]
UNFORMAT drive [/U] [/L] [/TEST] [/P]
UNFORMAT [/PARTN] [/L]
UNFORMAT [/?]
drive The drive letter to unformat, e.g. C:
Options:
/J Verifies that the drive mirror files are synchronized with
the disk.
/U * Unformats without using MIRROR files.
/L Lists all files and directories found, or, when used with
the /PARTN switch, displays current partition tables.
/TEST * Displays information but does not write changes to disk.
/P * Sends output messages to LPT1.
/PARTN Restores disk partition tables which wer saved with
MIRROR /PARTN.
/? Shows the help.
* Indicates functions not yet available.
Comments:
See MIRROR to better understand the UNFORMAT command.
Unformat does NOT support FAT32.
Examples:
UNFORMAT C: /J
UNFORMAT C: /L /PARTN
See also:
fdisk
format
mirror
undelete
Copyright © 2008, updated 2022 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.