# Command: lastdrive

      LASTDRIVE sets the last letter to which a drive can be assigned.
      LASTDRIVE is a CONFIG.SYS / FDCONFIG.SYS command.

## Syntax:

      lastdrive=x
        where x is the last letter that will be available.

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

## Options:

      - none -

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

## Comments:

      By default, FreeDOS will set x high enough for all floppy drives and
      detectable hard drive partitions, plus one for a CD or other drive.
      You may want to set x higher if you wish to use more than one drive that
      FreeDOS cannot detect automatically (CD drives, zip drives etc.).
      Setting x higher than necessary wastes a small amount of memory.
      LASTDRIVE is a command internal to kernel.sys and needs no other file
      in order to work.

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

## Examples:

      IN CONFIG.SYS / FDCONFIG.SYS:
        lastdrive=z  enables drive letters from A - Z.

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

## See also:

      config.sys
      fdconfig.sys
      lastdrivehigh
      shsucdx

#### [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 © 2003 Robert Platt, updated 2008 by W. Spiegl.

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