Index | Notes | Examples  


Displays, sets, or removes MS-DOS environment variables. You use environment variables to control the behavior of some batch files   and programs and to control the way MS-DOS appears and works. The SET command is often used in the AUTOEXEC.BAT or CONFIG.SYS files to set environment variables each time you start MS-DOS. Syntax SET variable=[string] To display the current environment settings, use the following syntax: SET Parameters variable Specifies the variable you want to set or modify. string Specifies the string you want to associate with the specified variable. Related Commands For information about setting environment variables that MS-DOS uses to control its own operations, see the <PATH>, <PROMPT>, <SHELL>, and <DIR> commands.
-Top- | Notes | Examples