SUBST Command Does Not Execute in AUTOEXEC.NT
ID: Q129128
|
The information in this article applies to:
-
Microsoft Windows NT operating system version 3.1
-
Microsoft Windows NT Advanced Server version 3.1
-
Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
-
Microsoft Windows NT Server versions 3.5, 3.51, 4.0
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<x>:\\<printserver>\<sharename> /persistent:yes
NOTE: Net use establishes a persistent connection using NET.EXE.
Additional query words:
prodnt 3.10
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: February 26, 1999