On Windows NT/2000/XP, sets environment variables in the environment of the current user (HKEY_CURRENT_USER\Environment).


On Windows 9x, sets environment variables in the global Windows environment (similar to the functionality offered by WINSET.EXE).



SET "variable=string"



After any change to the environment, KiXtart informs running programs that the change was made, prompting them to regenerate their environments. Programs that support this feature (such as Program Manager, Task Manager, and Windows Explorer) update their environments when they receive the WM_SETTINGCHANGE message.


The environment of the current process (KiXtart) is not affected.