Site hosted by Angelfire.com: Build your free website today!

MS-DOS Internal Commands

The SET Command

Description:

Displays, sets, or removes MS-DOS environment variables.

Command Syntax:

SET [variable=[string]]

Explanation of Syntax:

[variable] specifies the environment-variable name.
[string] specifies a series of characters to assign to the variable.

Type SET without parameters to display the current environment variables.

Command Use:

This command can be used at the command prompt, in the config.sys file or in batch files.