Summary
Instructions provided describe how to edit environment variables for various platforms.
Procedure
Warning:
The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.
Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
- In the Search box, type control to open the Control Panel.
- Click System and Security.
- Under System and Security, click System.
- In the System panel, click Advanced system settings.
- In the System Properties dialog, click the Environmental Variables button.
- In the Environment Variables dialog, click the New, Edit, or Delete buttons to add, edit, or delete system or user variables.
- Click OK.
- Click Start > Control Panel > System.
- In the System panel, click Advanced system settings.
- In the System Properties dialog box, select the Advanced tab.
- Click the Environment Variables button.
- In the Environment Variables dialog, click the New, Edit, or Delete buttons to add, edit, or delete system or user variables.
- Navigate to Start > Control Panel.
- Click Classic view.
- Double-click System.
- Click Advanced system settings.
- Click the Environment Variables button.
- Add, edit, or delete a variable.
- Click OK.
- Right-click My Computer and select Properties.
- Click the Advanced tab.
- Click the Environment Variables button.
- Add, edit, or delete a variable.
- Click OK.
- Click Start > Settings > Control Panel.
- Double-click the System icon.
- Select the Advanced tab.
- Select the Environment Variables button.
- Add, edit, or delete a variable.
- Click OK.
- Click Start > Settings > Control Panel.
- Double-click the System icon.
- Select the Environment tab.
- To edit an existing variable, select a System variable. Modify the value.
- To add a new variable, select a System variable, and type a new name and value in the respective fields.
- Click Set, Apply, and OK.
- Windows Millennium Edition:
- Click Start > Run.
- In the Open box and type msconfig. Click OK.
- Click the Environment tab; click New.
- Enter the Variable and Value information and click OK.
- While in the Environment tab, click the check box that corresponds to the new entry.
- Click the General tab and select Normal Startup from the Startup selection.
- Click OK and Yes to restart the computer.
- Open the autoexec.bat file in a text editor, such as Notepad. The autoexec.bat file is usually located on the root directory of the C: drive.
- Edit the desired variables and save.
For example:
SET TEMP = C:\Windows\Temp
- The system must be rebooted for the new environment to take effect.
- UNIX:
Edit the environment file for the system, usually through the .cshrc file located in the user's home directory. Check with a system administrator if assistance is needed.