@REGDELKEY[HKEY...\key] : Deletes the specified key and all of its subkeys. Returns 1 if the key was deleted, 0 otherwise. The expression must be enclosed in double quotes if it contains any separator characters (space, comma, or tab).


If you are running a 64-bit version of Windows, you can access the 64-bit registry instead of the 32-bit registry by appending "_64" to the HKEY name.


If the key name begins with \\machinename, @REGDELKEY opens the registry on a remote machine. The remote registry service must be running on the remote machine, and you must have access and permissions. The HKEY parameter can be one of the following keys:






Note: use EXTREME caution with this function. It has the potential for causing irreparable damage to your registry and can even prevent Windows from booting!

See @REGCREATE for information on the format of the key name.