Default CD-ROM File System Driver in MS-DOS 6.22
In MS-DOS 6.22, the default software component responsible for managing CD-ROM directory trees and file systems is MSCDEX.EXE (Microsoft CD-ROM Extensions). Because MS-DOS natively supports only FAT file systems, MSCDEX acts as an extension to the operating system, translating optical disc formats such as ISO 9660 and High Sierra into standard DOS directory structures and assigning the CD-ROM drive a recognizable drive letter.
The Role of MSCDEX.EXE
MSCDEX.EXE operates as a file system redirector rather than a low-level hardware controller. It hooks into the MS-DOS Network Redirector interface (Interrupt 2Fh), allowing the operating system to treat optical media like standard local drives, despite differences in sector size, storage layout, and directory architecture. While native DOS uses 512-byte sectors, CD-ROMs typically use 2048-byte sectors; MSCDEX handles this abstraction seamlessly.
How MS-DOS 6.22 Accesses CD-ROMs
Managing a CD-ROM in MS-DOS 6.22 requires a two-part driver architecture:
- Hardware Device Driver (CONFIG.SYS): A
manufacturer-supplied or generic ATAPI driver (such as
OAKCDROM.SYSorVIDE-CDD.SYS) is loaded during boot. This driver communicates directly with the CD-ROM controller hardware and assigns an arbitrary device name to the drive (for example,/D:MSCD001). - File System Driver (AUTOEXEC.BAT):
MSCDEX.EXEis loaded to bind to the hardware device name defined inCONFIG.SYS. It maps the disc's ISO 9660 directory tree to DOS directory semantics, enforces DOS 8.3 filename conventions, and allocates a logical drive letter (such asD:orE:).
Typical Implementation Syntax
A standard implementation in MS-DOS 6.22 uses the following configuration:
In CONFIG.SYS:
DEVICE=C:\DOS\HIMEM.SYS
DEVICEHIGH=C:\DRIVERS\OAKCDROM.SYS /D:MSCD001
In AUTOEXEC.BAT:
LH C:\DOS\MSCDEX.EXE /D:MSCD001 /L:D
The /D: parameter links the MSCDEX file system layer to
the physical driver, while the /L: switch specifies the
target drive letter. Once loaded, MSCDEX enables commands such as
DIR, CD, and standard file execution directly
from optical media.