Previous Topic: ApplyMappedKeyNext Topic: ApplyMappedValue


ApplyMappedSubKey

ApplyMappedSubKeys

Applies a registry key, its sub keys, values, or an ini file section and all its values from the source to the destination system. If any of the value names or value data is a directory path, they are mapped to the appropriate path. This command can take two parameters. Only the stored keys can be applied.

First parameter:

The Key path (string value)

Second parameter:

The new Key path (string value)

Usage:
ApplyMappedSubKeys(<Key path>, [new Key path]);
Example:
ApplyMappedSubKeys("HKLM\\Software\\Microsoft\\Office\\8.0\\Word\\Data\\Toolbar");