Solved

Renaming a key in the Registry

Posted on 2000-04-11
2
552 Views
Last Modified: 2012-06-27
How do i rename a key in the registry
(the key has subfolders)

ps: small example please...
0
Comment
Question by:nirkr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:abancroft
ID: 2703950
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
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 2704502
This article outlines the entire process and gives example code:


http://support.microsoft.com/support/kb/articles/Q175/3/29.ASP
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question