Microsoft KB Archive/64046

DOS LAN Manager Setup Doesn’t Change Default DOS LASTDRIVE ID Number: Q64046

2.00 MS-DOS

Summary:

With MS-DOS versions 3.20 and later, the LASTDRIVE system setting defaults to Drive E, and the DOS LAN Manager Setup program does not change this setting. Therefore, NET USE fails on any letters after “E” (F-Z). For example, if you try to access a letter after “E” with a NET USE command, the following error message is displayed:

DOS Error 15 has occurred. SYS0015: The system cannot find the drive specified.

The LASTDRIVE setting is located in the CONFIG.SYS file. Its syntax is “LASTDRIVE= ”, where is a single letter from “A” to “Z.” Drive letters “A” through “E” are usually used for physical disk drives such as floppy disks, hard disks, and RAM disks. The rest of the drive letters “F” through “Z”) are usually used for additional disk drives such as network drives. To change the LASTDRIVE setting, edit your CONFIG.SYS file and reboot your computer so that the changes will take effect. Please note that every drive letter used consumes some memory, so using LASTDRIVE=Z would use the most amount of memory.

For example, listed below is a CONFIG.SYS file in which the LASTDRIVE statement was changed after DOS LAN Manager had already been installed:

BREAK=ON BUFFERS=20 FILES=20 LASTDRIVE=H SHELL=C:.COM /P /E:256 DEVICE=C:.SYS INSTALL=C:.EXE C:=(50,25) DEVICE=C:.SYS

DEVICE=C:.DOS.DOS /i:C:.DOS DEVICE=C:.DOS.DOS DEVICE=C:.DOS.DOS