Microsoft KB Archive/98648

= Error on Incorrect Line After SHELL Statement in CONFIG.SYS =

Article ID: 98648

Article Last Modified on 11/19/1999

-

APPLIES TO


 * Microsoft MS-DOS 6.0 Standard Edition
 * Microsoft MS-DOS 6.2 Standard Edition
 * Microsoft MS-DOS 6.21 Standard Edition
 * Microsoft MS-DOS 6.22 Standard Edition

-



This article was previously published under Q98648



SYMPTOMS
An error in the CONFIG.SYS file is reported on the wrong line number if the line containing the error follows the SHELL statement. The error is reported on the line after the one that actually contains the error.

For example, the message &quot;Error in CONFIG.SYS line 5&quot; would indicate an error on line 4 if line 4 is located after the SHELL statement.



WORKAROUND
To work around this problem, position the SHELL line as the last line in your CONFIG.SYS file.



STATUS
Microsoft has confirmed this to be a problem in MS-DOS versions 6.0, 6.2, 6.21, and 6.22. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: 6.22 6.00 6.20 err msg &quot;error in config.sys line&quot; unrecognized command bad or missing

Keywords: KB98648

-

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

© Microsoft Corporation. All rights reserved.