DevAddDev and CMDAdd Keys Limited to 12 Characters in Msbatch.inf File (188150)



The information in this article applies to:

  • Microsoft Windows 98

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.

Modification Type:MinorLast Reviewed:12/16/2004
Keywords:kbenv kbinfo kbsetup KB188150