oem.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DRIVPARM
Notes  Example
────────────────────────────────────────────────────────────────────────────
 
                                  DRIVPARM
 
Defines parameters for devices such as disk and tape drives when you start
MS-DOS. You can use this command only in your CONFIG.SYS file.
 
The DRIVPARM command modifies the parameters of an existing physical drive.
It does not create a new logical drive. The settings specified in the
DRIVPARM command override the driver definitions for any previous block
device.
 
Syntax
 
    DRIVPARM=/D:number [/C] [/F:factor] [/H:heads] [/I] [/N] [/S:sectors]
    [/T:tracks]
 
Switches
 
/D:number
    Specifies the physical drive number. Values for number must be in the
    range 0 through 255 (for example, drive number 0 = drive A, 1 = drive B,
    2 = drive C, and so on).
 
/C
    Specifies that the drive can detect whether the drive door is closed.
 
/F:factor
    Specifies the drive type. The following list shows the valid values for
    factor and a brief description of each. The default value is 2.
 
    0
        160K/180K or 320K/360K
 
    1
        1.2 megabyte (MB)
 
    2
        720K (3.5-inch disk)
 
    5
        Hard disk
 
    6
        Tape
 
    7
        1.44 MB (3.5-inch disk)
 
    8
        Read/write optical disk
 
    9
        2.88 MB (3.5-inch disk)
 
/H:heads
    Specifies the maximum number of heads. Values for heads must be in the
    range 1 through 99. The default value depends upon the value you specify
    for /F:factor.
 
/I
    Specifies an electronically compatible 3.5-inch floppy disk drive.
    (Electronically compatible drives are installed on your computer and use
    your existing floppy-disk-drive controller.) Use the /I switch if your
    computer's ROM BIOS does not support 3.5-inch floppy disk drives.
 
/N
    Specifies a non-removable block device.
 
/S:sectors
    Specifies the number of sectors per track that the block device
    supports. Values for sectors must be in the range 1 through 99. The
    default value depends upon the value you specify for /F:factor.
 
/T:tracks
    Specifies the number of tracks per side that the block device supports.
    The default value depends upon the value you specify for /F:factor.
 
                                      ♦