Drivparm command
Updated: 11/12/2023 by Computer Hope
The drivparm command allows the default or original device driver settings to be overridden when the config.sys is loaded.
Availability
Drivparm is an internal command that is available in the following Microsoft operating systems.
Drivparm syntax
DRIVPARM=/d:number /c /f:factor /h:heads /i /n /s:sectors /t:tracks
/d:number | Specifies physical drive number. Numbers must be in the range of 0 to 255. |
/c | Specifies that the driver can tell that the floppy disk drive door is open. |
/f:factor | Specifies drive. Default value is 2. 0 - 160 K/180 K or 320 K/360 K 1 - 1.2 megabyte 2 - 720 K (3.5" disk) 5 - Hard disk 6 - Tape 7 - 1.44 MB (3.5" disk) 8 - Read/write optical disk 9 - 2.88 MB (3.5" disk) |
/h:heads | Specifies the maximum number of heads. |
/i | Specifies an electronically-compatible 3.5" floppy drive. |
/n | Non-removable block device. |
/s:sectors | Number of sectors per track, ranging in value from 1 to 99. |
/t:tracks | Number of tracks per side on the block device, ranging from 1 to 999. Default values vary depending on the factor selected. |
Drivparm examples
drivparm=/d:1 /c /h:2 /s:9 /t:80
Configures a 3.5" 720 K floppy drive. This line would be loaded in the config.sys.