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

ID: Q188150


The information in this article applies to:


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 kbsetup win98 
Version           : WINDOWS:98
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: February 9, 1999