Key.setValue

Sets the named value with the given string value.

Parameters

name string

The name of the value to set. If it is the empty string, sets the default value.

value string

The string value to set.

asEXPAND_SZ bool

If true, the value will be stored as an expandable environment string, otherwise as a normal string.

Throws

If a value corresponding to the requested name is not found, RegistryException is thrown.

Meta

Suggestion Box / Bug Report