This specifies the last valid drive letter for DOS or Windows sessions.
SET LASTDRIVE=drive
Parameters:
Value can be any letter from C to Z .