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

This article has been archived. It is offered "as is" and will no longer be updated.
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.
subst winmil msdos

Article ID: 288997 - Last Review: 06/19/2014 12:41:00 - Revision: 3.0

  • kbnosurvey kbarchive kbenv kbprb kbprogramming KB288997