Sign in to follow this  
Followers 0
codejunkie

Exporting Registry info to .REG file with AU3

3 posts in this topic

#1 ·  Posted (edited)

Heres may function and what I am feeding into it

how do i get it to read reg trees out to file before i delete the reg tree?

Func RegEditUndo($Key,$Name,$ValType,$Action);ToDo!
;Actions - RegWrite,RegDeleteVal,RegDeleteKey,RegEditVal
;ValTypes - Reg Val Type just like youd use with RegWrite...
;Name - RegValName is applicable
;Key - RegKeyName
EndFunc;RegEditUndo
Edited by codejunkie

Share this post


Link to post
Share on other sites

Have a look in the Help file for RegDelete, RegRead, RegWrite.

That should get you started.


----[ SandyD ]---

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Have a look in the Help file for RegDelete, RegRead, RegWrite.

That should get you started.

<{POST_SNAPBACK}>

Id say its more about the RegEnumKey and RegEnumVal because creating an undo file that can produce and reg file to undo a Reg Deletion of a key. all the sub keys and values need to be read to file first

this is what I want to know how to realy

RegWrite is not very hard to undo just read current value to file

Thinking about it its going to take 2 loops, one in side the other

Edited by codejunkie

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  
Followers 0