WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Environment

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:50:32
Last Updated: 1999:04:15:16:50:32