CurrentRegKey | Registry key. |
CurrentDictName | Name of dict to add to. |
This command is currently set up to firstly add all registry values to the dict, and secondly add all subkeys and their contents. There is, as yet, no option to mix keys and values in alphabetical order.
% set TargetRegKey {HKEY_LOCAL_MACHINE\SOFTWARE\My}
% set MyDict [dict create one uno two dos]
one uno two dos
% Dict2RegistryTree $TargetRegKey MyDict
% set MyDict2 [RegistryTree2Dict $TargetRegKey]
% PrintDict $MyDict2
uno one
two dos