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



The information in this article 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.

Modification Type:MinorLast Reviewed:1/14/2006
Keywords:kbenv kbprb kbProgramming KB288997