Microsoft DOS unformat command

Quick links

About unformat
Availability
Syntax
Examples
Additional information

About unformat

Used to unformat a drive that has been formatted.

Availability

The unformat command is an external command that is available in the below Microsoft operating systems.

MS-DOS 5.0 - 6.22

Syntax

Restores a disk erased by the FORMAT command or restructured by the RECOVER command.

UNFORMAT drive: [/J]
UNFORMAT drive: [/U] [/L] [/TEST] [/P]
UNFORMAT /PARTN [/L]

drive: Specifies the drive to unformat.
/J Verifies that the mirror files agree with the system information on the disk.
/U Unformats without using MIRROR files.
/L Lists all file and directory names 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 printer connected to LPT1.
/PARTN Restores disk partition tables.

MIRROR, UNDELETE, and UNFORMAT
Copyright (C) 1987-1993 Central Point Software,
Inc.

Examples

unformat c:

Command specified to unformat drive c: if it was formatted.

Additional information

This program was designed to only be run in MS-DOS versions 5.0 to 6.22. If you have upgraded to Windows 95, Windows 98, Windows NT, or any other operating system, this command will not restore any information but may possibly cause additional issues with the Hard Drive.