• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 560
  • Last Modified:

Renaming a key in the Registry

How do i rename a key in the registry
(the key has subfolders)

ps: small example please...
0
nirkr
Asked:
nirkr
1 Solution
 
abancroftCommented:
1. Use RegCreateKeyEx() to create the destination key.
2. Use RegOpenKeyEx() to open the source key.
3. Use SHCopyKey() to copy the key
4. Use SHDeleteKey() to delete the source key.
0
 
jhanceCommented:
This article outlines the entire process and gives example code:


http://support.microsoft.com/support/kb/articles/Q175/3/29.ASP
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now