"David4321" <> wrote in message
news

...
>
> I have seen some .reg files, which are not a complete registry (like
> a
> backup), but they just make certain edits and patches when clicked.
> How
> can I make such a file?
>
> What I am doing: I have just finished making many edits to install a
> new icon setup for files, folders, etc. - now I want to save my work
> in
> a form that can be used to install the same changes on another
> operating
> system - such as when I get a new one, or if I ever have to
> reinstall
> OS. Ideally, this would work for anyone's computer, not just my own.
> ie: way to work around user folder name in icon paths.
>
> I know how to copy the entire registry, or export a whole chunk of
> it,
> but it doesn't make sense to copy the entire HKEY_CLASSES_ROOT -
> that
> would change too much. I know how to export a single key entry as
> well,
> but there would be too many of these to be practical.
>
> How can I make a package that will edit only the selected keys?
> (namely
> mostly adding DefaultIcon key to file type root keys)
>
If I need to do this with a large number of keys, I generally export
the key that contains all of the changes I'll be making before and
after, then use a comparison tool to list the differences. In your
case, since the edits have already been done you could do the "after"
export now, revert to the restore point you made just before starting
these edits (you DID make a restore point first, didn't you?) and make
the "before" export, do the comparison, create the .reg file and merge
it to test it. If that approach doesn't get you there, then you may
have to resort to manually exporting each change and then merging the
individual export files into one.
--
Zaphod
Arthur: All my life I've had this strange feeling that there's
something big and sinister going on in the world.
Slartibartfast: No, that's perfectly normal paranoia. Everyone in the
universe gets that.