drivparm
秃噜豆儿 发表于 2020-06-22 16:40浏览次数:
drivparm命令允许当CONFIG.SYS加载时,默认或原始的设备驱动程序设置重写。
The drivparm command allows the default or original device driver settings to be overridden when the config.sys is loaded.
目录:
1 drivparm 运行系统环境
2 drivparm 语法
3 drivparm 示例
drivparm 运行系统环境
Windows 95
Windows 98
Windows NT
All Versions of MS-DOS
drivparm 语法
DRIVPARM=/d:number /c /f:factor /h:heads /i /n /s:sectors /t:tracks
/d:number
|
指定物理驱动器号。数字必须在0到255之间
|
/c
|
指定驱动程序可以告知软盘驱动器门是打开的。
|
/f:factor
|
指定驱动器。默认值为2。
0-160 K / 180 K或320 K / 360 K
1-1.2兆字节
2-720 K(3.5英寸磁盘)
5-硬盘
6-磁带
7-1.44 MB(3.5“磁盘)
8-读取/写光盘
9-2.88 MB(3.5英寸磁盘)
|
/h:heads
|
指定最大磁头数。
|
/i
|
指定电子兼容的3.5英寸软盘驱动器。
|
/n
|
不可移动的块设备。
|
/s:sectors
|
每个磁道的扇区数,取值范围为1到99。
|
/t:tracks
|
块设备上每侧的轨道数,范围从1到999。默认值根据选择的因素而变化。
|
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 示例
drivparm=/d:1 /c /h:2 /s:9 /t:80
配置一个3.5英寸720 K软盘驱动器。该行将被加载到config.sys中。
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.