Previous Topic: ApplyMappedFileNext Topic: ApplyMappedSubKey


ApplyMappedKey

ApplyMappedKey

Applies a registry key 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:
ApplyMappedKey(<Key path>, [new Key path]);
Example:
ApplyMappedKey("HKLM\\Software\\Microsoft\\Office\\8.0\\Word\\Data\\Toolbar");