Does anyone know if there's a way to rename a registry key? I've never seen a function that does it, or a way to do it with an existing function and wondered if I'd just missed it. I know that regedit allows for it, but not what it actually does when you do rename a key.
