Information in this document is subject to change without notice and does not represent a commitment on the part of Microsoft Corporation.  The software described in this document is furnished under a license agreement or nondisclosure agreement.  The software may be used or copied only in accordance with the terms of the agreement.  It is against the law to copy the Installation Guide for MS-DOS CD-ROM Extensions on magnetic tape, disk or any other medium for any purpose other than the purchaser's personal use.

Copyright Microsoft Corporation, 1986-1990

Microsoft, the Microsoft logo and MS-DOS  are registered trademarks of Microsoft Corporation.

IBM  is a registered trademark of International Business Machines Corporation.

Introduction		4
 
Setting Up Your CD-ROM Drive	5

  What You Need		5
  Using the CD-ROM SETUP Program	5
  Restarting Your Computer After Running SETUP	6

Using Your CD-ROM Drive	7

What SETUP Does		7

  The CONFIG.SYS File	7
  The AUTOEXEC.BAT File	8
  Device Driver Names		8
  Command Line Switches	8
Questions and Answers	10

Installation Guide
for MS-DOS CD-ROM Extensions

________________________________________________
INTRODUCTION

This guide provides instructions for installing the operating software for your CD-ROM drive on a computer that uses the MS-DOS operating system.

Compact Disc Read-only Memory (CD-ROM) represents a technology in the storage and retrieval of information for personal computers.  A CD-ROM drive provides a storage capacity of more than 1,500 floppy disks, more than the contents of 100 textbooks - on a single CD-ROM disc.

Installing your CD-ROM drive is a simple procedure.  The SETUP disk provided with your CD-ROM drive includes a program that leads you through all the steps required to install your drive and configure it for use with your system.

Once installed, your CD-ROM drive can be read like any other magnetic disk drive.  You can use it immediately, without learning anything new; your existing MS-DOS applications can access CD-ROM files directly.

_______________________________________________
SETTING UP YOUR CD-ROM DRIVE

What You Need

To install your CD-ROM drive for use with MS-DOS, you need:

-  An IBM personal computer or compatible with a minimum of 256K memory.
-  A CD-ROM drive and controller card.
-  The MS-DOS CD-ROM Extensions disk provided with your CD-ROM drive.
-  MS-DOS, version 3.1 or higher.

If you are using a floppy disk system, you will also need:

- A blank, formatted floppy disk.
- A disk that includes MS-DOS, version 3.1 or higher.

Note:  The MS-DOS CD-ROM Extensions enable your drive to read compact discs that use the High Sierra or  IS0 9660 format.  

Using the CD-ROM SETUP Program

The SETUP program gives you step-by-step guidance for preparing your computer system for use with a CD-ROM drive.  To begin using the SETUP program, refer to the procedure below that applies to the type of system you are using (hard-disk or two- or one-drive system).

If You have a Hard-Disk System

If you are using your CD-ROM drive with a hard-disk system, follow these steps:

[1]  Insert the MS-DOS CD-ROM Extensions disk into drive A.
[2]  Type a: , Press ENTER
       Type Setup
[3]  Press ENTER
[4]  Follow the instructions that appear on your screen.

If you have a Two- or One-drive System

To install and use the SETUP program, you will need your MS-DOS system disk (the disk you use to start your computer).  Before running the SETUP program, you must make a new copy of your MS-DOS system disk and copy necessary SETUP program files onto that disk.  This new disk should then be used each time you start your computer for use with your CD-ROM drive.

To copy your MS-DOS system disk and install the SETUP files:

[1]  Insert your MS-DOS disk into drive A and start your computer.
[2]  When A> appears on your screen, type diskcopy.
[3]  Press ENTER.
[4]  Follow the instructions displayed on your screen.
       Insert your MS-DOS system disk when prompted for the source disk;
       insert the blank, formatted disk when prompted for the target disk.
[5]  When copying is complete, you will see the message "Copy Complete, Copy
       Another? (Y/N)."  Press N and then press ENTER.
[6]  Remove the MS-DOS system disk from drive A and insert the MS-DOS CD-ROM
      Extensions disk.
[7]  At A>, type setup
[8]  Press ENTER.
       Follow the instructions displayed on your screen.  If you have a one-drive system,
       insert the newly copied disk in drive A when prompted to insert the disk for drive B.

Note:  Label the newly copied CD-ROM start disk "MS-DOS with CD-ROM."  This is the disk you should now use to start your computer for use with your CD-ROM drive.

Restarting Your Computer After Running SETUP

When you have completed the SETUP procedure listed above that applies to the type of system you are  using, you need to restart your computer to reconfigure your system based on the information you just added to your AUTOEXEC.BAT and CONFIG.SYS files.

To restart your computer:

-  Press Ctrl-Alt-Del.

________________________________________________
USING YOUR CD-ROM DRIVE

After you have run the SETUP program, which modifies your AUTOEXEC.BAT and CONFIG.SYS files to recognize the presence of your CD-ROM drive, you are ready to use your computer with your CD-ROM drive.

To use your CD-ROM drive with a hard-disk system:

-  Turn on your computer.
    Your hard-disk system will recognize the presence of your CD-ROM drive.

To use your CD-ROM drive with a floppy-disk system:

-  Insert the CD-ROM start disk (labeled "MS-DOS with CD-ROM") and start your
   computer.

For technical information on how the SETUP program modified your system to recognize the CD-ROM drive, see the following section, "What SETUP Does."

________________________________________________
WHAT SETUP DOES

This section of Installation Guide for MS-DOS CD-ROM Extensions provides technical information about the SETUP program.  You do not need to read this section before installing and using your CD-ROM drive.

The SETUP program helps you adjust your system for use with a CD-ROM drive and MS-DOS.  By responding to questions and messages displayed by the SETUP program, you automatically modify your system's CONFIG.SYS and AUTOEXEC.BAT files to recognize the presence of your CD-ROM drive.  The SETUP program also copies certain required files to the disk or directory you use to start your computer.

The CONFIG.SYS file

First the SETUP program searches the root directory of the drive selected for installation of MS-DOS CD-ROM Extensions for the presence of a CONFIG.SYS file.  If the CONFIG.SYS file is not found, the SETUP program automatically creates the file.

The SETUP program makes the following changes to your CONFIG.SYS file:

- Changes or adds the line for "last drive=" to read "last drive=z".
- Adds a line to the CONFIG.SYS file to load the device driver for the CD-ROM
   drive.

The SETUP program modifies your CONFIG.SYS file to ensure your system can add additional drives.  By adding the line "lastdrive=z", the SETUP program tells your operating system that you may have up to 26 different drives, each designated by an individual letter from a to z.  If your CONFIG.SYS file has already identified the last drive, the SETUP program increases this to allow for the presence of additional drives.

The AUTOEXEC.BAT File

The SETUP program searches the root directory of the drive selected for installation of the MS-DOS CD-ROM Extensions for the AUTOEXEC.BAT file.  If the SETUP program cannot find this file, it automatically creates the file.

Next, the SETUP program adds a line to the AUTOEXEC.BAT file that tells MS-DOS to invoke the MSCDEX.EXE program, with its correct parameters, when you start your system.  The SETUP program also copies the MSCDEX.EXE program and the CDROM.SYS device driver to the disk or directory you use to start your computer.

Device Driver Names

Every device driver used by your system must have a unique name.  Due to the way MS-DOS opens files, if there is a device driver with the same name as a file in your current directory, MS-DOS will attempt to open the current device driver, not the file.  For this reason, device driver names should not be used as file names.

The SETUP program assigns unique names to the device drivers it uses.  For example, it uses a name such as MSCD005 as a device driver name.

Command Line Switches

The SETUP program uses the following command line switches for line:

Switch                         Use_________________________________         Example____
                                                             
/D:(device name)	Precedes the device driver name.  When com-       /D:MSCD001
        	bined with the device driver name, this switch
	tells MSCDEX.EXE where to find the device
	driver.

/E	Tells MSCDEX.EXE to use expanded memory
	 if your system is using expanded memory.

Switch                          Use                                                                   	Example

/L:(drive letter)	Determines what drive letter MSCDEX.EXE         /L:M
	uses as the first letter when assigning CD-
	ROM drive letters.  Instead of starting at the
	first free drive letter, MSCDEX.EXE starts at
	 the drive letter specified by this switch.

/K	Tells MSCDEX.EXE to use any Kanji
	(Japanese) file structures, if present, rather than
	the default of standard alphanumeric file
	structures.

/S	Instructs MSCDEX.EXE to patch DOS to allow 
	sharing of CD-ROM drives on MS-NET based 
	network servers.

/M:(value)	Tells MSCDEX.EXE how much memory to           /M:10
	allocate for caching information on the CD-
	ROM.  The higher this value is, the better your
	performance will be, though you will have less
	room on the CD-ROM for other applications. 
	The SETUP program uses a default value of 4
	to reserve 8 kilobytes for sector caching for a 
	single drive.

/V	Provides memory usage statistics, such as how 
	much memory is used by buffers, resident data,
	resident code.

The syntax for the "DEVICE=" line is follows:

     DEVICE=(drive.sys)/D:(device_name)(driver-specific switches)

A sample entry in AUTOEXEC.BAT to install MSCDEX.EXE would be:

     C:MSCDEX.EXE/D:MSCD000/D:MSCD001/M:60

________________________________________________
QUESTIONS AND ANSWERS

Here are answers to some questions that may arise as you use the SETUP program to install your CD-ROM drive, or as you use your CD-ROM drive with MS-DOS:

[1] Is there anything special I need to do to install my CD-ROM drive for use with a network?

You should check your AUTOEXEC.BAT file to be sure that, upon system startup, the network is installed before your CD-ROM drive is installed.  Within your AUTOEXEC.BAT file, the line that applies to the network must precede the line that applies to the CD-ROM drive.

[2] Can I use my CD-ROM drive with any application or file that I normally use with MS-DOS?

Applications that depend on MS-DOS standard interfaces are compatible.  These applications can read files on your CD-ROM disc just as they would on any floppy disk.  However, they cannot write information to the CD-ROM drive.

[3] Does my computer always know that I am using a CD-ROM drive, or do I need to run a special program each time I start my computer?

You do not need to run a special program each time you start your computer.  When you install your CD-ROM drive and run the SETUP program, your AUTOEXEC.BAT file is updated to reflect the presence of the CD-ROM drive.  Your computer uses the information in the AUTOEXEC.BAT file every time you turn on your system or restart it.

[4] Are there any differences between the way I use my CD-ROM drive and  the way I use any other disk drive with my computer?

The only difference to you as a user is that your CD-ROM drive is read-only, which means you cannot write information to the CD-ROM disc.  The CD-ROM disc acts like a write-protected floppy disk.

[5] If I start a "shell" program like Windows or DOS SHELL, where should the MSCDEX entry go in AUTOEXEC.BAT?

The entry should be before the entries that run other BAT files or start shell programs, so that MSCDEX has a chance to create the CD-ROM drives before the BAT files or "shell" programs are run.