Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Deletes a key in the registry.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Registry 7.2 No Yes Yes, Windows only No No
MBS( "Registry.DeleteKey"; Path; Name )   More


Parameter Description Example value
Path The path to the parent 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.
Name The name of the key to delete. "test"


Returns OK or error.


Deletes a key in the registry.


Delete test key:

MBS( "Registry.DeleteKey"; "CurrentUser"; "Test")

Delete a key in a path:

MBS( "Registry.DeleteKey"; "CurrentUser\Test\MyApp"; "MyPref")

See also

Created 20th March 2017, last changed 20th March 2017

Registry.CreateKey   -   Registry.DeleteTree

Feedback: Report problem or ask question.

MBS FileMaker Plugins