Sideway
output.to from Sideway
Draft for Information Only

Content

MS DOS Command: MSCDEX.EXE
 Description
 Syntax
 Parameters
 Remarks
  The CD-ROM device driver must be loaded
  Limit on number of logical drives
  SMARTDrive and MSCDEX
 Examples

MS DOS Command: MSCDEX.EXE

Reference from Microsoft MS-DOS cmd help

Description

Provides access to CD-ROM drives. MSCDEX can be loaded from your AUTOEXEC.BAT file or from the command prompt. (The device driver that came with your CD-ROM drive must be loaded from your CONFIG.SYS file. For more information, see Notes.)

The MSCDEX command should not be used after Windows has started.

Syntax

MSCDEX /D:driver [/D:driver2... ] [/E] [/K] [/S] [/V] [/L:letter] [/M:number]

Parameters

/D:driver1 [/D:driver2... ] Specifies the driver signature of the first CD-ROM device driver. The driver1 parameter must match the parameter specified by the /D switch on the CONFIG.SYS command that starts the corresponding CD-ROM device driver

The MSCDEX command must include at least one /D switch. To install additional CD-ROM device drivers, specify an additional /D switch for each device driver.

/E Specifies that the CD-ROM driver be allowed to use expanded memory, if available, to store sector buffers.
/K Specifies that MS-DOS should recognize CD-ROM volumes encoded in Kanji. By default, MS-DOS does not recognize Kanji CD-ROM volumes.
/S Enables sharing of CD-ROM drives on MS-NET or Windows for Workgroups servers.
/V Directs MSCDEX to display memory statistics when it starts.
/L:letter Specifies the drive letter to assign to the first CD-ROM drive. If you have more than one CD-ROM drive, MS-DOS assigns additional CD-ROM drives subsequent available drive letters.
/M:number Specifies the number of sector buffers.

Remarks

The CD-ROM device driver must be loaded

Your CONFIG.SYS file must include a DEVICE or DEVICEHIGH command that loads the CD-ROM device driver that came with your CD-ROM drive. The CD-ROM driver's command line should include a /D:drivername parameter. This parameter assigns a driver name (also called a driver signature) to the CD-ROM device driver.

The MSCDEX command must include a /D:drivername parameter that matches the /D:drivername parameter on the CD-ROM device driver's command line. MSCDEX uses the /D:drivername parameter to identify the correct CD-ROM device driver. The driver name is usually a name similar to MSCD000. Each CD-ROM device driver currently in use must have a unique driver name.

Limit on number of logical drives

The number of logical drive letters available on your computer can limit the number of CD-ROM drives you can have. The number of logical drives is determined by the LASTDRIVE command in your CONFIG.SYS file. By the time MSCDEX loads, some of the available drive letters might be used by other programs, such as a network, DriveSpace, or DoubleSpace.

SMARTDrive and MSCDEX

If you use SMARTDrive, make sure the MSCDEX command appears before the SMARTDRV command in your AUTOEXEC.BAT file. SMARTDrive can significantly speed up your CD-ROM drive by read-caching it. By default, when SMARTDrive loads, it checks for the presence of MSCDEX; if MSCDEX is present, CD-ROM caching is enabled. For more information, see the SMARTDRV command.

Examples

Loading and enabling a single CD-ROM device driver

This example shows the relevant CONFIG.SYS and AUTOEXEC.BAT commands for a computer with one CD-ROM drive.

The CONFIG.SYS file contains the following DEVICE command:

device=c:\devices\cdromdrv.sys /d:mscd000

This command loads the device driver CDROMDRV.SYS, which came with the CD-ROM drive. The AUTOEXEC.BAT file contains the following MSCDEX command:

c:\dos\mscdex /d:mscd000 /l:g

This command enables the device driver that has the driver signature MSCD000. The /E switch specifies that the driver be allowed to use expanded memory, if available. The /L:G switch assigns the drive letter G to the CD-ROM drive.

Loading and enabling more than one CD-ROM device driver

This example shows the relevant CONFIG.SYS and AUTOEXEC.BAT commands for a computer that has two CD-ROM drives from two different manufacturers.

The CONFIG.SYS file contains the following DEVICE commands:

device = c:\aspi\aspicd.sys /d:mscd000

device = c:\cdrom\tslcdr.sys /d:mscd001

Each command loads the device driver that came with that CD-ROM drive. The AUTOEXEC.BAT file contains the following MSCDEX command:

c:\dos\mscdex /d:mscd000 /d:mscd001 /l:j

This command enables both device drivers. The first driver has the driver signature MSCD000; the second has the driver signature MSCD001. The /L:J switch specifies that the first CD-ROM drive, MSCD000, will be drive J and the second CD-ROM drive will be drive K.


©sideway

ID: 110700227 Last Updated: 7/29/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Travel 18

Reference 79

Computer

Hardware 254

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019