CD-ROM Drivers for MSCDEX in MS-DOS 6.22

In MS-DOS 6.22, accessing an optical drive requires a two-part software architecture: a low-level hardware device driver loaded in CONFIG.SYS and the Microsoft CD-ROM Extensions utility (MSCDEX.EXE) executed in AUTOEXEC.BAT. The driver that enables the actual hardware communication is an ATAPI/IDE or SCSI CD-ROM device driver, with OAKCDROM.SYS being the most widely used universal driver. This article explains which drivers work with MSCDEX, their specific roles, and how to configure them properly in MS-DOS 6.22.

The Hardware Driver: OAKCDROM.SYS

MS-DOS lacks native support for optical media. While MSCDEX.EXE assigns a drive letter and translates ISO 9660 file systems into standard DOS calls, it cannot communicate directly with the CD-ROM drive controller. It relies entirely on a real-mode device driver loaded at boot time.

The standard and most compatible driver for IDE/ATAPI drives is OAKCDROM.SYS, originally created by Oak Technology. Because it supports the standard ATAPI specification, it works with the vast majority of IDE CD-ROM, CD-RW, and DVD-ROM drives.

Other common alternative drivers include:

  • VIDE-CDD.SYS: A popular generic ATAPI driver often bundled with Acer and other OEM systems.
  • ATAPI.SYS: A standard ATAPI driver provided by various hardware manufacturers.
  • SCSI CD-ROM Drivers: For SCSI-based drives, an ASPI manager (such as ASPI4DOS.SYS) paired with an optical driver like ASPICD.SYS is required instead of an IDE driver.

How the Driver Pairs with MSCDEX

To enable CD-ROM functionality, the hardware driver and MSCDEX must share an identical device identifier string via the /D: parameter.

1. CONFIG.SYS Configuration

The device driver must be loaded first in the CONFIG.SYS file using the DEVICE or DEVICEHIGH command.

DEVICEHIGH=C:\DOS\DRIVERS\OAKCDROM.SYS /D:CDROM01
  • DEVICEHIGH: Loads the driver into upper memory blocks (UMBs) to conserve conventional memory.
  • /D:CDROM01: Assigns an arbitrary hardware device name (up to 8 characters).

2. AUTOEXEC.BAT Configuration

Once the driver creates the named device header in memory, MSCDEX.EXE binds to it in AUTOEXEC.BAT.

LH C:\DOS\MSCDEX.EXE /D:CDROM01 /L:D
  • LH (LoadHigh): Runs the program in upper memory.
  • /D:CDROM01: Matches the exact device signature defined in CONFIG.SYS.
  • /L:D: Optional parameter designating the specific drive letter to assign (in this case, drive D:).

Summary

OAKCDROM.SYS (or an equivalent ATAPI driver such as VIDE-CDD.SYS) is the component that directly controls the CD-ROM drive hardware in MS-DOS 6.22. Without this driver establishing the initial device interface in CONFIG.SYS, MSCDEX.EXE cannot detect the optical drive or mount it to a drive letter.