This program can update environment settings without rebooting or logging off using WM_SETTINGCHANGE
system call.
Author: anic17
Credits: http://web.archive.org/web/20170516120430/http://poshcode.org/2049
Call EnvUpdate
Where:
ver
: Displays version of programhelp
: Displays help for the program
Example:
call EnvUpdate
Below I have demonstrated how to use EnvUpdate and as you can see here the output of the error level is 0 implying that EnvUpdate was successful in updating the environment of the system.
Video-https://www.youtube.com/watch?v=F4v51ZV0ACI
Article-https://batch-man.com/envupdate/