How to Turn Off Windows NT Interpretation of AUTOEXEC.BAT (102957)
The information in this article applies to:
- Microsoft Windows NT Server 3.1
- Microsoft Windows NT Workstation 3.1
- Microsoft Windows NT Advanced Server 3.1
This article was previously published under Q102957 SUMMARY
In certain cases, it might be desirable to disable Windows NT's
interpretation of environment variables listed in the AUTOEXEC.BAT
file. To do this, add the following statement in front of any listed
environment variables you want Windows NT to ignore:
IF NOT "%OS%"="WINDOWS_NT"
For example:
IF NOT "%OS%"="WINDOWS_NT" SET TEMP=C:\TEMP
Modification Type: | Major | Last Reviewed: | 3/15/2004 |
---|
Keywords: | kbenv KB102957 |
---|
|