Pm.WinEnviromentWrite sName, sValue
|sName||(String) Environment variable name (case insensitive text). Existing variable is changed otherwise a new variable is created.|
|sValue||(String) Value to write.|
The copy of environmental variables holds every Windows process. The basic set of variables is created after starting the Windows process, namely either the basic variables (e.g. computer name, procesor type, operating system, etc.), or the variables configured by the user (in the OS Windows setting the variables with the values for the computer and the user can be defined).
The basic set of environmental variables can be displayed in the command line by the Set command.
Pm.WinEnviromentWrite "APP_PATH", Pm.DiscGetPath("app:")