Commands & Syntax > Commands > System >

www.perfectkeyboard.com

 

Registry CREATE KEY - < reg_createkey >() ... [Pro]

 

Registry CREATE KEY
<reg_createkey>("Registry key")
Available in: Professional edition

This command creates a 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 created. Example: "HKEY_CURRENT_USER\Software\MyCompany\NewKey"

 

Example (Macro Steps):

 

1

<#> <#> This command create new 'TestKey key

2

<#> <#> in 'HKEY_CURRENT_USER\Software'

3

Macro execution: ONLY COMMANDS

4

Registry CREATE KEY "HKEY_CURRENT_USER\Software\TestKey"

Example (Plain Text):

 

<#> This command create new 'TestKey key

<#> in 'HKEY_CURRENT_USER\Software'

<cmds>

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