Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/102957

From BetaArchive Wiki

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


Last Reviewed: October 27, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.