ActiveState/pythonselect — Issue #4: Refresh the environment in windows
Author: qiukun
Created: 2012-01-20 12:27:22+00:00
State: open

I have found this call. But i don't know how to hack.
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,LPARAM("Environment"), SMTO_ABORTIFHUNG, 5000, &MsgResult);