Compatibility: 2.0+

 Purpose: Sets the limit for drive IDs usable by the Subst command and for

          use as InterLink drives.

  Syntax: LASTDRIVE=d


        d is a single alphabetical letter in the range A to Z.

█ŢTECH NotesŮ█

  ■ DOS maintains an undocumented internal array of information on each

    drive, including the ASCIIZ name of the current directory.  The size of

    this array is set via the LASTDRIVE= command.

    The undocumented DOS fn 52H (get DOS Vars) returns the address of a

    DOS Variables Block, one field of which contains the LASTDRIVE= setting

    and another field points to a pointer to the drive info array.

See Also: CONFIG.SYS Commands