KiXtart Environment Variables Do Not Exist After Script Runs

ID: Q162850


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows 95


SYMPTOMS

Environment variables set up through your KiXtart Script do not exist after the script terminates. When you run the KiXtart logon script on a computer running Windows 95, the environment variables appear to work properly.


CAUSE

The Set command in Windows 95 is only active during the same MS-DOS session. When the current session is closed, the variable is no longer in memory.

NOTE: This is different behavior than from a computer running Windows NT Server version 4.0.


RESOLUTION

To have environment variables for use outside the logon script, use Winset.exe from the Windows 95 compact disc to set global environment variables.

For additional information, please see the following article in the Microsoft Knowledge Base:

Q162793 How to Setup KiXtart Logon Scripts on a Windows 95 Client


MORE INFORMATION

The following is an excerpt from the KiXtart Documentation:

Only programs that specifically support this feature (such as ProgMan and TaskMan) will have their environment updated. When in doubt about a particular program, please ask the supplier of the program whether or not his program supports the "WM_WININICHANGE" message for changes to the environment.
The product mentioned here is manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

Additional query words:

Keywords : ntdomain nt16ap nt32ap ntdosap NTSrv
Version : WinNT:4.0;Windows:95
Platform : winnt
Issue type : kbinfo


Last Reviewed: September 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.