Set

Displays and sets Recovery Console environment variables. The set command is an optional command that must be used with Security Templates.

The set command with the parameters listed below is only available when you are using the Recovery Console The set command with different parameters is available from the command prompt.

set [variable=[string]]

Parameters

variable 

Specifies the variable you want to set or modify.

The Recovery Console supports the following environment variables:

VariableDescription

AllowWildCards

Enables wildcard support for some commands (such as the del command).

AllowAllPaths

Allows all files and directories on the system to be accessed.

AllowRemovableMedia

Allows files to be copied to removable media, such as a floppy disk.

NoCopyPrompt

Does not display a prompt when overwriting an existing file.

string 

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

Examples

The following example enables you to use wildcards with some Recovery Console commands:

set allowwildcards=true

The following example turns off the prompt when you are overwriting files:

set nocopyprompt=true

Note

Used without parameters, set displays the current environment settings.

The set command is disabled by default. To enable the set command, use the Security templates. The Enables the Set command for the Recovery Console attribute is located in the console tree under Local Computer Policy/Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options.

All environmental variables are set to FALSE by default.

Top of pageTop of page

Related Topics

Command-line reference A-Z

Recovery Console overview


Top of pageTop of page