# Command: unformat

      UNFORMAT tries to restore a disk that has been formatted.

## Syntax:

      UNFORMAT drive [/J]
      UNFORMAT drive [/U] [/L] [/TEST] [/P]
      UNFORMAT [/PARTN] [/L]
      UNFORMAT [/?]
               drive  The drive letter to unformat, e.g. C:

#### [Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

## 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.

#### [Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

## Comments:

      Information from MIRROR may aid unformat.

#### [Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

## Examples:

      UNFORMAT c: /J
      UNFORMAT c: /U /L /TEST /P
      UNFORMAT /PARTN /L

#### [Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

## See also:

      fdisk
      format
      mirror
      undelete

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

## File:

      Please read this command's lsm file also.
      You will find the updated version (internet) here and
      the version described in this manual page here.
      The lsm file contains information about the name of the programmer,
      the download site, and some other command related information.

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)

      Copyright © 2008 W. Spiegl.

      This file is derived from the FreeDOS Spec Command HOWTO.
      See the file H2Cpying for copying conditions.