Site hosted by Angelfire.com: Build your free website today!

MS-DOS Internal Commands

The DRIVPARM Command

Description:

Defines parameters for devices such as disk and tape drives when you start MS-DOS.

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.

Command Syntax:

DRIVPARM=/D:number [/C] [/F:factor] [/H:heads] [/I] [/N] [/S:sectors] [/T:tracks]

Explanation of Syntax:

/D:number specifies the physical drive number. Values for number must be in the range 0 to 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 to 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.

Command Use:

This command can only be used in the config.sys file.