From: Richard Lamboj on


is there a way to rename a subkey?

Kind Regards,

From: Tim Golden on
On 27/04/2010 12:23, Richard Lamboj wrote:
> is there a way to rename a subkey?

This is essentially a Windows question, since the _winreg module
is a lightweight wrapper around (some of) the MS Reg functions:

And: no, there isn't a "rename key" function. Which isn't to say you
can't reproduce the effect by using SaveKey and LoadKey followed by
deleting the original key. The transactional functions which are
available from Vista onwards aren't exposed by Python altho' some
are available via the win32api module of the pywin32 packages: