Microsoft KB Archive/288997

= &quot;Subst&quot; Command Does Not Work in Autoexec.bat File in Windows Millennium Edition =

Article ID: 288997

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows Millennium Edition

-



This article was previously published under Q288997



SYMPTOMS
You may not be able to run the subst command if it is in the Autoexec.bat file or in the environment section of the registry on a Windows Millennium Edition (Me)-based computer after you upgrade the computer from an earlier version of the Windows operating system.



CAUSE
This behavior occurs because the Autoexec.bat file is not parsed by Windows Me and the subst command is not understood by the environment section of registry.



RESOLUTION
To resolve this behavior, create a batch file by using the subst command for persistent drive mapping, and then put it in the Windows Startup group.

Note: Microsoft does not directly support batch file programming.

Additional query words: subst winmil msdos

Keywords: kbenv kbprb kbprogramming KB288997

-

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

© Microsoft Corporation. All rights reserved.