Quincy Center for Technical Education
Computer Technology Department

Set

Displays, sets, or removes Windows 2000 environment variables.

You use environment variables to control the behavior of some batch files and programs and to control the way Windows 2000 and the MS-DOS subsystem appears and works. The set command is often used in the Autoexec.nt file to set environment variables.

set [variable=[string]]

Parameters

none

Used without parameters, set displays the current environment settings.

variable

Specifies the variable you want to set or modify.

string

Specifies the string you want to associate with the specified variable.