To set an environment variable with a csh shell:
Open a shell window
Type the following command:
setenv <variable> <value>
To set an environment variable with a sh, ksh, or Bourne shell:
Open a shell window
Type the following commands:
<variable>=<value>
export <variable>
To set an environment variable under Windows NT, 2000 or XP:
From the Start menu, select Parameters, Control Panel, and double-click System.
Select the Advanced tab and click Environment variables.
Click the New... button to add the new environment variable.
Click OK.
Related Topics
Environment Variables | Line Command Reference