Using Unique Labels with Multi-Config (95635)



The information in this article applies to:

  • Microsoft MS-DOS operating system 6.0
  • Microsoft MS-DOS operating system 6.2
  • Microsoft MS-DOS operating system 6.21
  • Microsoft MS-DOS operating system 6.22

This article was previously published under Q95635

SUMMARY

When using a Multi-Config startup menu with MS-DOS 6.x, the label names you use in your AUTOEXEC.BAT file must be unique within the first eight characters. This is true for all MS-DOS labels.

MORE INFORMATION

For example, if your startup menu has two labels, (Emp_John_Smith and Emp_John_Smyth) and your AUTOEXEC.BAT file has a GOTO %CONFIG% command, MS-DOS always jumps to the :Emp_John_Smith label if it appears before the :Emp_John_Smyth label in the AUTOEXEC.BAT file.

To workaround or avoid this problem, make sure all menu items in your CONFIG.SYS and their corresponding labels in your AUTOEXEC.BAT file are unique within the first eight characters.

Modification Type:MajorLast Reviewed:11/19/1999
Keywords:KB95635