Microsoft KB Archive/67412

Using DRIVPARM in MS-DOS 3.30 PSS ID Number: Q67412 Article last modified on 02-09-1993 PSS database name: O_MSDOS

3.30

MS-DOS

Summary:

DRIVPARM, a command used in CONFIG.SYS to define parameters of a block devices, was first implemented in MS-DOS 3.20. However, the use of the command in MS-DOS 3.30 results in the following error:

Unrecognized command in CONFIG.SYS

For example, the following line, used to configure drive A as a 360K disk, will be accepted in MS-DOS 3.20, 3.30a, and 4.01, but will generate the error in MS-DOS 3.30:

DRIVPARM=/D:0 /F:0

This problem occurs due to a switch-parsing error in the kernel of MS-DOS 3.30, and can be circumvented by adding a control character such as CTRL+A immediately after the equal sign in the DRIVPARM line, as follows:

DRIVPARM=/D:0 /F:0

This line will be accepted and will not generate the error message.

Note: A text editor capable of allowing control characters to be entered and saved is required. EDLIN allows you to enter control characters by entering “” followed by the desired character (that is, “” is entered as “ A”).

Additional reference words: 3.30 noupd

Copyright Microsoft Corporation 1993.