"Subst" Command Does Not Work in Autoexec.bat File in Windows Millennium Edition

Article translations Article translations
Article ID: 288997
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


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.


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.


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.


Article ID: 288997 - Last Review: June 19, 2014 - Revision: 3.0
kbnosurvey kbarchive kbenv kbprb kbprogramming KB288997

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com