Thanks in advance,
Justin O. Ramsland
Export .reg file
Posted 13 November 2001 - 23:25
Posted 14 November 2001 - 17:54
However, an easier way might be to use this utility:
http://www.installsi...les/copykey.zip
Posted 16 November 2001 - 20:10
Posted 16 November 2001 - 22:08
Thanks,
Justin O Ramsland
Posted 16 November 2001 - 22:22
Change the default root to where you key is set (RegDBSetDefaultRoot)
Check if your key exists (RegDBKeyExist)
Get the key value(RegDBGetKeyValueEx)
Loop until your key and its values are fully enumerated...
... load this into the a list, or call on the fly..
Delete the old key and values (RegDBDeleteKey )
Check if your target exists (RegDBKeyExist)
Empty the list or the returned data into your target (RegDBSetKeyValueEx )
..
You can also create a file with your dump for an actual .REG file type by creating the first line with "Windows Registry Editor Version 5.00" or whatever compatible version... etc.
...
Destroy your list (if used)