Registry Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Registry-commands >

Registry Commands

RDT. - Registry-DelTree

Previous Top Next


MiniRobotLanguage (MRL)

 

RDT. Command

Registry Delete Tree

 

 

Intention

 

Delete Registry Items, and any subitems.

 

Please use RDT. with extreme caution and on your own danger.

 

In case of success 0 is been placed on stack, otherwise an API-Error is placed on stack.

 

For safety reasons, prefer RDI. where possible to delete single Items from Registry.

 

 

 

Syntax

 

RDT.P1

 

 

Parameter Explanation

 

P1 - (in) Registry Key to delete

 

 

 

 

Example

 

'**********************************************

' REW./RDT. - Sample

'**********************************************

'DBM.2

PRT.===========================================

' First we write some Keys ...

: §§REG=HKEY_LOCAL_MACHINE\SOFTWARE\A_registry_test\Subkey03\A\B\C

REW.§§REG

' Now we delete them

: §§REG=HKEY_LOCAL_MACHINE\SOFTWARE\A_registry_test\Subkey03

RDT.§§REG

DMP.4

END.

 

 

 

Remarks

 

-

 

 

Limitations:

 

This command is currently limited to the x32-Registry.

 

 

See also:

 

    IER. / NER. - If-Exist-Registry

    FER. - For-Each-Registry

    RER. - Registry Entry Read

    REW. - Registry-Entry-Write

    RDI. - Registry-Delete-Item

    RDT. - Registry-DelTree