Command: finddisk

  FINDDISK is a utility to locate a disk by label.

Syntax:

  FINDDISK [X:][+]LABEL

Options:

  FINDDISK searches LABEL on drives C:-Z, case sensitive.
  X:   Check only 1 drive
  +    Go to the found drive
  ? *  Wildcards, e.g. DO?-BI*

Comments:

  Returns:
  1,4,... A:;D:,... matches
  0 no match
  There is a bug in FREEDOS label that does not write the LABEL
  twice on the HD as it should. So it may happen that finddisk does not
  work as expected.

Examples:

  The actual FREEDOS live CD installs the label FREEDOS2023
    finddisk +FREEDOS*    Shows "ECHO Match on and C:\" and goes to C:
  If "tdsk - Turbodisk"  is installed:
    finddisk turbodsk    Will show NO match (case sensitive!)
    finddisk TURBODSK    Shows "ECHO Match on and F:" but stays at C:

See also:

  errorlevel/exitcode
  label
  tdsk/turbodisk

  Copyright © 2005 (unknown) help version 2023 W. Spiegl.

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