How to get path of specified HKEY

Tech-Archive recommends: Fix windows errors by optimizing your registry



Is there any way to get for specified HKEY the path to it in its registry? It is quite easy for predefined keys as there are only few of them and they can be checked with few ifs. However what about any arbitrary HKEY?

Adam Badura

.