Used to designate the maximum number of drives (real and virtual) recognized by the operating system.
The LASTDRIVE command can only be invoked from Config.sys.
Syntax:
LASTDRIVE=x
LASTDRIVEHIGH=x
x | A single letter (A to Z) representing the last valid drive that MS-DOS is to recognize. (Default is Z) Note: a trailing colon should not be included. |
Notes:
- Whatever letter is specified in a LASTDRIVE statement, all system drives along with any other drives specified in config.sys are automatically included. Thus, if a system has two hard drives (C: and D:)and a CD-ROM (E:), the line:
LASTDRIVE=A
would be interpreted as:
LASTDRIVE=E
- If the DOS command is used to manage the upper memory blocks (it usually is), the default values for LASTDRIVE are automatically loaded into the HMA. ie. the line
LASTDRIVEHIGH=z
is invoked without needing to be explicitly stated.
- If an invalid character (such as a trailing colon) is included, the minimum number of drives (as outlined in Note 1) are included. No error message is displayed.
|