Knowledge Base

Limitations Using SET Commands in AUTOEXEC.BAT File

Article ID: 102064

Article Last Modified on 11/1/2006


APPLIES TO


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