Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Registry.DeleteTree

Deletes a key with all sub keys.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Registry 7.2 No Yes Yes, Windows only No No

MBS( "Registry.DeleteTree"; Path )

Parameters

Parameter Description Example value
Path The path to the registry key.
Separated by \ you specify the path to the key you want.
Root can be Classes, CurrentUser, LocalMachine, Users, PerformanceData, CurrentConfig, DynData or the HKEY names.
"Users\test"

Result

Returns OK or error.

Description

Deletes a key with all sub keys.

Not available on Windows XP. Works on Windows Vista or newer and Windows Server 2008 or newer.

Examples

Deletes a tree:

MBS( "Registry.DeleteTree"; "CurrentUser\Test")

See also


Registry.DeleteKey   -   Registry.DeleteValue

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins