Saving pieces of the registry

Richard Chamberlain richard_chamberlain at ntlworld.com
Thu Apr 27 00:09:50 CEST 2000


Hi Pieter

There are several things in the win32api which may do what you want:

win32api.RegSaveKey and win32api.RegRestoreKey

Richard

Pieter Claerhout <PClaerhout at CREO.BE> wrote in message
news:2B1262E83448D211AE4B00A0C9D61B03011152B9 at MSGEURO1...
> Hi,
>
> does anyone know is there is a command in Python to save a part from the
registry
> to a .reg file, like you can do with regedit.exe? I would like for example
like to save
> all keys under HKEY_LOCAL_MACHINE\Software to a file. Anyone know if this
is
> possible or not?
>
> Kind regards,
>
>
> Pieter
>
>





More information about the Python-list mailing list