18.08.2013 Views

CHAPTER 13

CHAPTER 13

CHAPTER 13

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

770 Chapter <strong>13</strong> Optical Storage<br />

DEVICE=C:\DRIVERS\MYCDROM.SYS /D:mscd001<br />

C:\DRIVERS is the subdirectory that contains the driver MYCDROM.SYS, the driver for your specific<br />

CD-ROM drive.<br />

Note the /D:mscd001 option after the preceding statement. This designation, called the device signature,<br />

identifies this CD-ROM driver as controlling the first (001), and only, CD-ROM drive on the system.<br />

This portion of the device driver statement is for the Microsoft DOS Extensions driver, which<br />

designates CD-ROM drives in this fashion. In fact, you could use any designation here, as long as the<br />

MSCDEX command line uses the same one.<br />

MSCDEX: Adding CDs to DOS/Win3.x<br />

The Microsoft CD Extensions for DOS enable the DOS operating system (and by extension, Windows<br />

3.x) to identify and use data from CD-ROMs attached to the system. The original DOS operating system<br />

had no provisions for this technology, so “hooks” or handling of this unique media are not part<br />

of the basic operating environment. Using these extensions is convenient for all involved, however.<br />

As CD-ROM technology changes, the MSCDEX can be changed, independently of DOS. For example,<br />

most PhotoCD, multiple-session CD-ROM drives require MSCDEX.EXE version 2.21 or higher, which<br />

has been modified from earlier versions to accommodate the newer CD-ROM format.<br />

MSCDEX.EXE should be in your software kit with your drive. If not, you can obtain the latest copy<br />

directly from Microsoft. If you are a registered user of DOS or Windows 3.1, MSCDEX.EXE is free.<br />

Read the licensing agreement that appears on the disc or in your manual concerning the proper<br />

licensing of the MSCDEX files.<br />

Your installation software should add a line similar to the following to your AUTOEXEC.BAT file:<br />

C:\WINDOWS\COMMAND\MSCDEX.EXE /d:mscd001<br />

C:\WINDOWS\COMMAND is the directory in which the MSCDEX.EXE file is located by default with Windows<br />

9x and later; with MS-DOS and Windows 3.1, it could be located in the \DOS directory or in the directory<br />

containing the CD-ROM drivers. The /d:mscd001 portion of the command line supplies the<br />

MSCDEX extension with the device signature defined in the CD-ROM device driver of your<br />

CONFIG.SYS file.<br />

Note<br />

The MSCDEX and CD-ROM device signatures must match. The defaults that most installations provide are used in this<br />

example. As long as the two names are the same, the drivers can find one another.<br />

As long as you have these three drivers—the SCSI adapter driver, the CD-ROM driver, and the DOS<br />

CD extensions—loaded properly in your system, the CD-ROM drive will operate as transparently as<br />

any other drive in your system.<br />

Table <strong>13</strong>.30 lists the options you can add to the MSCDEX.EXE command line.<br />

Table <strong>13</strong>.30 MSCDEX Command-Line Options<br />

Switch Function<br />

/V Called Verbose; when this option is added to the command line, it displays information<br />

about memory allocation, buffers, drive letter assignments, and device driver names on your<br />

screen at boot time.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!