codejunkie 0 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 Share this post Link to post Share on other sites
sandyd 0 Posted March 29, 2005 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
codejunkie 0 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 Share this post Link to post Share on other sites