Microsoft KB Archive/311843

= How To Create System Variables in Windows 2000 =

Article ID: 311843

Article Last Modified on 3/29/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q311843



IN THIS TASK
SUMMARY Creating a System Variable Removing a System Variable Viewing System Variables
 * Saving System Variables in a Text Document

REFERENCES



SUMMARY
This step-by-step article describes how to create system variables and how to view system variable information in a Windows 2000 environment. A member of the administrators group will complete all procedures.

back to the top

Creating a System Variable

 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) Double-click System.
 * 3) On the Advanced tab, click Environment Variables.
 * 4) Under System variables, click New.
 * 5) In the Variable Name box type the name for your variable, in the Variable Value box type your variable path, and then click OK.
 * 6) Click OK.

back to the top

Removing a System Variable

 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) Double-click System.
 * 3) On the Advanced tab, click Environment Variables.
 * 4) In the System variables box, click the variable you want to remove, and then click Delete.
 * 5) Click OK.

back to the top

Viewing System Variables

 * 1) Click Start, point to Programs, Administrative Tools, and then click Computer Management.
 * 2) In the console tree, click to expand System Information, click to expand Software Environment, and then click Environment Variables.
 * 3) The display pane to the right lists all current system variables and their associated values.

back to the top

Saving System Variables in a Text Document

 * 1) In the Computer Management snap-in console tree, right-click Environment Variables, and then click Save As Text File.
 * 2) In the File name box, type the name you are giving to the file, and then click Save.

back to the top

