Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I rename Windows NT RegistryKeys with power++?

Status
Not open for further replies.

sapa

Technical User
Feb 27, 2003
1
0
0
US
I'm trying to rename a subkey under the key HKEY_CURRENT_USER. I have tried to open the old key and to save it to a file. And then crate a new subkey with a new name and then loading the saved file. There is a problem with the Save() method. The file is created but it is always empty. Maybe I should be a different kind of user or something to save the registry data??

If somebody knows a way to help me I would be happy to hear about it. Or if there is some other way to rename the key for example using the Windos API....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top