DELVALUE

Action

Deletes a value entry from the registry.

 

Syntax

DELVALUE ("subkey", "entry")

 

Parameter

Subkey

A string that specifies the name of the subkey from which you want to delete an entry.

Entry

A string that specifies the name of the entry you want to delete.

Returns

 

0

Value entry deleted

Error code

Function failed

 

Example

$ReturnCode  =DelValue("HKEY_CURRENT_USER\EZReg", "Test")

If $ReturnCode = 0

   ? "Value deleted...."

Endif