You can set most environment variables in the following ways:
Note, however, that this sets the variables for all processes, after the next time you reboot.
The functions that access the environment variables are not available when you use the subsystem libraries. To access the environment variables when you are using the subsystem libraries, you must use OS/2 APIs.
![]()
Application
Run-Time Environment Variables
