Microsoft KB Archive/162850

= KiXtart Environment Variables Do Not Exist After Script Runs =

Article ID: 162850

Article Last Modified on 11/15/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows 95

-



This article was previously published under Q162850



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:

162793 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.

Keywords: kbinfo KB162850

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.