# Command: diskcomp

      DISKCOMP compares the contents of two floppy disks, track by track.

## Syntax:

      diskcomp [drive [drive]] [/1] [/8] [/4[0]] [/b] [/?]
               drive  The drive letter for a floppy disk.  If only one
               drive letter is given, assume the working drive
               (if a floppy drive.)  If no drive letters are given,
               assume both are the working drive (if a floppy).
               If both drives are the same, diskcomp will read one
               floppy at a time, and you will need to swap floppies.

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

## Options:

      /1   Compare only the first sides of the disks, even if
           double-sided disks.
      /8   Compare only the first 8 sectors per track.
      /40  Compare only the first 40 tracks (shortcut: /4)
      /b   Forces diskcomp to use the BIOS to access the floppy
           disk drive. (The BIOS is slower, but might be required
           for compatibility on some machines.)
      /?   Shows the help

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

## Comments:

      This program compares two disks (max 32 MB each) and shows the
      md5sum digest of the contents. It tells whether disk contents
      differ (shows a message and sets the EXITCODE (ERRORLEVEL)
      appropriately).
      If you only give one drive, you have to change disks after the
      first disk is read. If you give no drive option, two disks in
      the current drive are compared to each other.

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

## Examples:

      diskcomp A: A:  compares two disks

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

## See also:

      comp
      diskcopy
      fc
      md5sum

#### [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 © 1998 Jim Hall, updated 2007 by W. Spiegl.

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