Microsoft KB Archive/102957

{|
 * width="100%"|

How to Turn Off Windows NT Interpretation of AUTOEXEC.BAT

 * }

Q102957

-

The information in this article applies to:


 * Microsoft Windows NT Server version 3.1
 * Microsoft Windows NT Workstation version 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

Issue type :

Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW310 kbWinNTSsearch kbWinNTS310 kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS310xsearch kbWinNT310xSearch kbWinNTW310Search