×
Menu
Index

WINDELKEY Subroutine (Windows Version Only)

 
Usage:
r = WINDELKEY(keynum, "keyname" [, "all"])
 
Description:
Deletes the registry key “keyname” under an open key referenced by keynum.  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 winkey ^"^" hkcu")
   WinDelKey(0, "my key")
   ext("close winkey 0")
end sub