Microsoft KB Archive/129128

= SUBST Command Does Not Execute in AUTOEXEC.NT =

Article ID: 129128

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Workstation 3.1
 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q129128





SYMPTOMS
When you include Win32 binary commands in the AUTOEXEC.NT file in Windows NT, they do not execute. The AUTOEXEC.NT file runs only 16-bit DOS binary commands.



CAUSE
These commands are Win32 binary commands and should be executed in a batch file or a user's login script.



WORKAROUND
To work around this problem, use either of the following methods:


 * Create a batch file including the command. Next, create a program item for the batch file in the Startup group of Program Manager.
 * Include the command in a user's login script.

The following examples describe SUBST and NET command usage:


 * SUBST U: C:\UTL

NOTE: Subst associates a path with a drive letter.
 * NET use lpt:\\ \ /persistent:yes

NOTE: Net use establishes a persistent connection using NET.EXE.

Additional query words: prodnt 3.10

Keywords: KB129128

-

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

© Microsoft Corporation. All rights reserved.