Displays, sets, or removes MS-DOS environment variables.
It is often used in the AUTOEXEC.BATor CONFIG.SYS files to set environment variables each time you start MS-DOS. ![]()
Syntax
To display the current environment settings, use the following syntax:
SET
Examples
set path=c: \ windows \ command
This would set the path to c: \ windows \ command.











