reg_del

WinBuilder

Reg_Del

Delete a registry key or value from the registry hive loaded by Hive_Load.

Syntax

Reg_Del,KeyName,[ValueName]

Parameters

1KeyNameKey name to delete. Must be prefixed with %reg%\.
2ValueNameOptional value name to delete. If not specified then the key and its contents will be deleted.

Example

Reg_Del,%reg%\ControlSet001\Services\VgaSave\Device0,DefaultSettings.XResolution
Reg_Del,%reg%\ControlSet001\Services\VgaSave\Device0