Function EN Version 4.60

@NTRegistryDeleteKey

Misc System

Syntax

@NTRegistryDeleteKey(TEXTKEYPATH1;TEXTSUBKEYNAME2);

Description

Deletes the SUBKEY named TEXT TEXTSUBKEYNAME2 under the key path TEXT TEXTKEYPATH1 together with all values contained in it.

Return value:
On success TRUE, otherwise @ERROR.

Example: @NTRegistryDeleteKey(TEXTKEYPATH1;TEXTSUBKEYNAME2);

TEXTKEYPATH1:="HKEY_LOCAL_MACHINE\\SOFTWARE\\MyKey";
TEXTSUBKEYNAME2:="MyFirstSubKey";
@NTRegistryDeleteKey(TEXTKEYPATH1;TEXTSUBKEYNAME2);

Deletes the SUBKEY named "MyFirstSubKey" under the key path "HKEY_LOCAL_MACHINE\\SOFTWARE\\MyKey" together with all values contained in it.

Note : This text was machine-translated and may contain inaccuracies.