Function Reference


EnvUpdate

Refreshes the OS environment.

EnvUpdate ( )

Parameters

None.

Return Value

Success: None.
Failure: Sets @error to 1.

Remarks

Similar effect as logging off and then on again. For example, changes to the %path% environment might not take effect until you call EnvUpdate (or you logoff/reboot).

Related

EnvGet, EnvSet

Example


EnvUpdate()