codejunkie Posted March 29, 2005 Posted March 29, 2005 (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 March 29, 2005 by codejunkie
sandyd Posted March 29, 2005 Posted March 29, 2005 Have a look in the Help file for RegDelete, RegRead, RegWrite. That should get you started. ----[ SandyD ]---
codejunkie Posted March 29, 2005 Author Posted March 29, 2005 (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 firstthis is what I want to know how to realyRegWrite is not very hard to undo just read current value to fileThinking about it its going to take 2 loops, one in side the other Edited March 29, 2005 by codejunkie
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now