How to Turn Off Windows NT Interpretation of AUTOEXEC.BAT

ID: Q102957


The information in this article applies to:
  • Microsoft Windows NT 3.1
  • Microsoft Windows NT Advanced Server, version 3.1


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

Additional query words: prodnt

Keywords : kbenv
Version : winnt:3.1; :3.1
Platform : winnt
Issue type :


Last Reviewed: January 11, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.