GRMON3-UM
June 2019, Version 3.1.0
237 www.cobham.com/gaisler
Appendix F. Appending environment
variables
1. Windows
Open the environment variables dialog by following the steps below:
Windows 7
1. Select Computer from the Start menu
2. Choose System Properties from the context menu
3. Click on Advanced system settings
4. Select Advanced tab
5. Click on Environment Variables button
Windows XP
1. Select Control Panel from the Start menu
2. Open System
3. Select Advanced tab
4. Click on Environment Variables button
Variables listed under User variables will only affect the current user and System variables will affect
all users. Select the desired variable and press Edit to edit the variable value. If the variable does not exist, a
new can be created by pressing the button New.
To append the PATH, find the variable under System variables or User variables (if the user variable does not exist,
then create a new) and press Edit. At the end of the value string, append a single semicolon (;) as a separator
and then append the desired path, e.g. ;C:\my\path\to\append
2. Linux
Use the export <name>=<value> command to set an environment variable. The paths in the variables PATH or
LD_LIBRARY_PATH should be separated with a single colon (:).
To append a path to PATH or LD_LIBRARY_PATH, add the path to the end of the variable. See example below.
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/my/path/to/appand