![]() ![]() These settings usually include the COMSPEC and PATH environment variables, which are used to help find programs on disk. ![]() If you use the set command without any parameters, the current environment settings are displayed. The set command is often used in the Autoexec.nt file to set environment variables. Use environment variables to control the behavior of some batch files and programs and to control the way Windows and the MS-DOS subsystem appears and works. If you use quotation marks to enclose a string that contains one of the special characters, the quotation marks are set as part of the environment variable value. The characters, |, &, and ^ are special command shell characters, and they must be preceded by the escape character ( ^) or enclosed in quotation marks when used in (for example, "StringContaining&Symbol"). If command extensions are enabled (the default) and you run set with a value, it displays all of the variables that begin with that value. Sets to a numerical expression that is evaluated. This parameter must be used with the /p parameter. Specifies a message to prompt the user for input. Sets the value of to a line of input entered by the user. ![]() Specifies the string to associate with the specified environment variable. Specifies the environment variable to set or modify. For more information, see Windows Recovery Environment (WinRE). The set command can also run from the Windows Recovery Console, using different parameters. This command requires command extensions, which are enabled by default. ![]()
0 Comments
Leave a Reply. |