ExportRegistry

The script function "ExportRegistry" can be used to write registry keys into a Reg file.

ExportRegistry(<%RegKeyPath%>,<%FilePath%>);

Parameter

Description

<%RegKeyPath%>

The path of the registry key to be written into a registry file.
Example values:

"HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TEST;

<%FilePath%>

The path with filename into which the registry key is to be written.
Example value:

"\Hard Disk\TestRegFile.reg"

Example:

ExportRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TEST","\Hard Disk\TestRegFile1.reg");