Knowledge Base |

# How to Turn Off Windows NT Interpretation of AUTOEXEC.BAT

Article ID: 102957

Article Last Modified on 3/15/2004

APPLIES TO

- Microsoft Windows NT Advanced 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

Additional query words: prodnt

Keywords: kbenv KB102957