Changing drive letters in MS-DOS 6.22?

edited August 2017 in Software
So,

I have the solar system back.

When I go into my extended dos parition, and make some logical paritions, it makes the first as ":D" however this conflicts with my CD-ROM drivers.

I need to label the first logical partition other than "D", but I can't figure out how. I know of the assign command, but that doesn't actually change the drive letter, it just makes one drive think it's another.

Does anyone know anyway to change a drive letter in MS-DOS 6.22?

EDIT: So I tried installing the CD-ROM drivers before making any logical DOS drives. and it works, after I made one logical drive it labelled it D, and then on restart the CD-ROM drive was labelled E.

However, now when I made as many logical drives as possible to use all my space on the HDD, it now says there's not enough drive letters available, so I am not able to access my CD-ROM drive now.

Comments

  • Add this line to CONFIG.SYS

    LASTDRIVE=Z

    This makes all drive letters assignable. The CD-ROM should be receive a drive letter now.
  • BigCJ wrote:
    Add this line to CONFIG.SYS

    LASTDRIVE=Z

    This makes all drive letters assignable. The CD-ROM should be receive a drive letter now.

    Thanks man! That worked.

    Now I I can only choose which letter I want each drive to be.
  • That isn't really possible AFAIK. Changing drive letters wasn't easy until Windows came along. I'd backup the data and repartition the Logical drives.
  • BigCJ wrote:
    That isn't really possible AFAIK. Changing drive letters wasn't easy until Windows came along. I'd backup the data and repartition the Logical drives.

    and even if I did that, FDISK would just make the first logical drive "D" again, as it always does.
  • edited July 2017
    Wait, what exactly are you trying to do? Have primary partition as C:, the CD-ROM as D: and then the Logical drives? It's supposed to list the hard disks and their partitions before CD drives.

    How does this contraindicate your CD-ROM driver?
  • BigCJ wrote:
    Wait, what exactly are you trying to do? Have primary partition as C:, the CD-ROM as D: and then the Logical drives? It's supposed to list the hard disks and their partitions before CD drives.

    yes, that's what I want.
  • edited July 2017
    That isn't possible under DOS. See, MSCDEX presents the CD-ROM drive to DOS as a network drive, and those load after hard disks and their partitions. Even using the /L:x switch in MSCDEX doesn't help. What's wrong with your CD drive having a higher drive letter?
  • BigCJ wrote:
    That isn't possible under DOS. See, MSCDEX presents the CD-ROM drive to DOS as a network drive, and those load after hard disks and their partitions. What's wrong with your CD drive having a higher drive letter?

    Nothing, just would've liked keeping this standard.
  • Having the CD drive(s) after the hard disk partitions *was* standard way back when. The "CD drive being D: no matter what" ideal came about in the Win9x-era.
  • BigCJ wrote:
    Having the CD drive(s) after the hard disk partitions *was* standard way back when. The "CD drive being D: no matter what" ideal came about in the Win9x-era.

    alright then "G" it is!
  • The OS/2 install uses R: for the ramdrive, and S: for the first cdrom drive. I use this everywhere. Under DOS, the xmsdsk freeware ramdisk, will allow you to set the ram-drive to a random letter.

    There is also something like BTTRSoft's chgltr utility, which you can swap diskettes.

    Note that Win9x reverts the cdrom back to its original letter.
  • Hello! first post here (just discovered this wonderful site) but hope I can help you out.

    You could assign the CDROM drive letter under DOS and it would also be respected by Win3.1 and Win9x. Here is how, from my own DOS setup: (works in DOS6 and 7, dunno about earlier)

    CONFIG.SYS
    ===========
    DEVICE=HIMEM.SYS
    DOS=HIGH,UMB
    devicehigh=c:\oakcdrom.sys /d:IDE_M001
    BREAK=ON
    files=60
    buffers=40
    lastdrive=Z


    AUTOEXEC.BAT
    ==============
    lh mscdex /l:r /d:IDE_M001
    lh mouse /y
    lh doskey
    LH smartdrv /X /V
    BREAK=ON
    SET BLASTER=I7 D1 H5 P330 T6
    mode con: rate=32 delay=1
    path=c:\;c:\system\batch;c:\utility\public;

    The BOLD lines are for the CDROM (or DVD, either works, and can have one of each)
    /d: switch assigns the device name. It must be the same in both CONFIG.SYS and AUTOEXEC.BAT
    /l: switch assigns the first drive letter
    If you have two optical drives, the second will be the next letter.
    I normally have two so mine become R: and S:
    In fact I have a machine with three, and it has R: S: and T:

    SET BLASTER settings are for a very old Sound Blaster (bought it in 1994, still works)

    Be careful with setting drive letters to W X Y Z on old setups -- those were originally reserved network drives, and sometimes won't work elsewhere.

    The only reason this "didn't work" under Win9x is that the installer zeroed out the DOS config files, but you could go back and change them afterward and then it worked as expected.
Sign In or Register to comment.