Jump to content
Sign in to follow this  
GAM

Read Registry

Recommended Posts

GAM

Hi, How can I read the registry in heirarchical way? I mean, I would like to read ALL the "values" in the current "key" and then check for the next "key" and then read ALL the "values" in that heirarchy so on and so forth until the end of the registry. Help Please. And also I would like to print this in a txt file. Please help!!!!!


Neil

Share this post


Link to post
Share on other sites
KaFu

Wrote a function for reading the reg-keys just last week :). Take a look at EnumRegKeys2Array() in my signature, writing the array to file should be easy.

Those values can be used with RegWrite(), what I found difficult (and did not yet succeeded in) was to create an output compliant with the standard .reg output produced by RegEdit.

Best Regards

Edited by KaFu

Share this post


Link to post
Share on other sites
amokoura

The answer is in the manual :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×