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: W12920Filename: Immediate User Environment Change in NT.txt