Solved

Renaming a key in the Registry

Posted on 2000-04-11
2
548 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
2 Comments
 
LVL 4

Expert Comment

by:abancroft
Comment Utility
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
Comment Utility
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now