Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Immediate Environment Change in NT

Keywords:     intcontrol(22,    sendmessage

I have used the following code to change the current users environment immediately, for all newly launched applications.
        HKCU=@REGCURRENT
        RegSetExpSz(HKCU,"Environment\[TEST]","Value")
        IntControl (22, -1, 26, 0, "Environment")

Article ID:   W12920
Filename:   Immediate User Environment Change in NT.txt