Registry:setString
Method
Purpose
This method (on Microsoft Windows) writes a string entry to the Registry.
Remarks
This method works exactly as if you were using the Microsoft Windows Registry editor and chose Add Value, selecting the data type REG_SZ
. The Entry
argument of the method corresponds to the Value Name
you enter, and the Value
argument corresponds to what you type in the String editor.
The Key
must exist in the Registry. If the Entry
argument is not already in the Registry, a new entry is created and its value set to Value
. If the Entry
argument exist in the Registry for the specified key, the value of the entry is set to the new value.
Type
Synchronous, IMPACT_ACTION.
Arguments
Name |
Type |
Description |
Key |
String |
Specifies key to change |
Entry |
String |
Specifies entry to add or change |
Value |
Integer |
Value to set for a specified entry |
Returns
None.