Limitations Using SET Commands in AUTOEXEC.BAT File (102064)



The information in this article applies to:

  • Microsoft Windows NT 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.

Modification Type:MajorLast Reviewed:11/20/2003
Keywords:kbenv KB102064