registry key export
Posted: Thu Feb 28, 2008 4:26 pm
I am trying to find a way to backup my email sort rules in OE to a file so that I can restore them to a different computer. So far I have found the identity value and have then gone to the mail rules section in the registry and recusively found all of the subkeys. I am at the point of recursively extracting the values of all of the subkeys but am having a bit of an issue in identifying the key type. It occured to me that I may be re-inventing something someone has already done via a single function. I've really ended up with a bit of a mess and really need to start over as I was kinda learning as things evolved. I had hoped to eventually make an entire OE backup / restore tool out of this.
Does anyone know of an easy way to just export an entire key to either memory or a file other than calling regedit? An export lib function or something? I'd like to have this as a stand alone app, but it may just be easier to call regedit /e and call it done, nasty as that might be.
Does anyone know of an easy way to just export an entire key to either memory or a file other than calling regedit? An export lib function or something? I'd like to have this as a stand alone app, but it may just be easier to call regedit /e and call it done, nasty as that might be.