A command used to specify the number of drives that can be accessed and recognized by MS DOS. For example, in the CONFIG.SYS file the command line lastdrive=h would set the last drive letter to H.