Commands & Syntax > Commands > System >

www.perfectkeyboard.com

 

Registry DELETE KEY - < reg_deletekey >() ... [Pro]

 

Registry DELETE KEY
<reg_deletekey>("Registry key")
Available in: Professional edition

This command deletes specified registry key. There are these registry roots supported:
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_PERFORMANCE_DATA
HKEY_DYN_DATA

 

#

Parameter name

Parameter description

1

Registry key

Full path of registry key to be deleted. Example: HKEY_CURRENT_USER\Software\MyCompany\NewKey

 

Example (Macro Steps):

 

1

<#> <#> This command deletes 'TestKey' key

2

<#> <#> from 'HKEY_CURRENT_USER\Software'

3

Macro execution: ONLY COMMANDS

4

Registry DELETE KEY "HKEY_CURRENT_USER\Software\TestKey"

Example (Plain Text):

 

<#> This command deletes 'TestKey' key

<#> from 'HKEY_CURRENT_USER\Software'

<cmds>

<reg_deletekey>("HKEY_CURRENT_USER\Software\TestKey")