Previous Topic: ApplyMappedFileNext Topic: ApplyMappedSubKey


ApplyMappedKey

ApplyMappedKey

Applies a registry key and all its values or an ini file section and all its values from the source to the destination machine. 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 keys that were stored 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");