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/102064

From BetaArchive Wiki
Knowledge Base


Limitations Using SET Commands in AUTOEXEC.BAT File

Article ID: 102064

Article Last Modified on 11/1/2006



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 Q102064

SUMMARY

When you log on to a Windows NT machine, Winlogon processes the AUTOEXEC.BAT file to set your environment variables and the PATH.

However, the following restrictions apply to all SET statements:

  • Conditional set ("IF") statements are not processed.
  • Environment variables cannot be removed (unset). For example, "SET WORKDIR=" does not remove the WORKDIR environment variable.

In short, only SET and PATH statements are processed.


Additional query words: prodnt unset

Keywords: kbenv KB102064