Microsoft KB Archive/188150

= DevAddDev and CMDAdd Keys Limited to 12 Characters in Msbatch.inf File =

Article ID: 188150

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q188150



SYMPTOMS


MORE INFORMATION
If you use entries that contain more than 12 characters, the entries are truncated in the Config.sys or Autoexec.bat file.

For example, if you specify the following key in an .inf file

DevAddDev= C:\TEST\DRIVER.SYS,device,,

the following line appears in the Config.sys file:

DEVICE=C:\TEST\DRIV

If you need to use the DevAddDev or CMDAdd key in an .inf file, make sure that the path and file name do not exceed 12 characters.



SUMMARY
The [Update Config] section of an MSBatch.inf (and other general .inf files) has an DevAddDev key that you can use to add a "Device=" line to the Config.sys file. The [Update AutoExec] section has a CMDAdd key that you can use to add an entry to the Autoexec.bat file. Both of these keys have a 12-character limit.

Keywords: kbenv kbinfo kbsetup KB188150

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.