FreeDOS help system (hhstndrd 1.0.8 en)[lastdrv]

Command: lastdrive

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


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


- none -


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.


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

See also:

config.sys fdconfig.sys lastdrivehigh shsucdx ------------------------------------------------------------------------------ Copyright (C) 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.