To properly display this page you need a browser with JavaScript support.
×
Menu
Index
Search
Search
Search
TeraByte Scripting Language
TBScript Language Reference
DELKEY Subroutine
Prev
Next
Print version
To properly display this page you need a browser with JavaScript support.
DELKEY Subroutine
Usage:
r = DELKEY(keynum, "keyname" [, "all"])
Description:
Deletes the registry key "keyname". The optional "all" parameter can be used to delete a key and all subkeys. The return value is 1 or 0 to indicate success or failure respectively.
Example:
sub main()
ext("open reg 0 test.hiv")
ext("open key 0 ^"^" 0")
DelKey(0, "my key")
ext("close reg 0")
end sub