in reply to win32::TieRegistry script
Use any of the serialization modules, preferably one that outputs text. For example, I've done this with Data::Dumper (for non-huge registry keys). It recording the bless state was a pain but easy enough to remove. Then just assign the reconstituted hash in order to reconstruct the whole Registry tree.
Update: You can also use TieRegistry to load and modify the information in the hive before you restore it (or use regedt32 to do this).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: win32::TieRegistry script (serialize)
by tachyon (Chancellor) on Jun 11, 2004 at 04:48 UTC | |
by kcella (Beadle) on Jun 12, 2004 at 07:01 UTC |