Modify Registry Key
-
MPTP wrote:
How can I change the name of existing registry key?
By writing a program? On a serious note, see CRegKey[^] and Registry Functions[^]
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]
-
MPTP wrote:
How can I change the name of existing registry key?
By writing a program? On a serious note, see CRegKey[^] and Registry Functions[^]
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]
-
For start see CRegKey::Open. :)
-
-
ASAIK, there is no rename function. You have to delete the existing key and add new one...
-
The key also have many subkeys So it is not possible for me to do so, Is there any alternate to rename the same key without deleting.
-
MPTP wrote:
How can I change the name of existing registry key?
By writing a program? On a serious note, see CRegKey[^] and Registry Functions[^]
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]
Rajesh R Subramanian wrote:
On a serious note, see CRegKey[^] and Registry Functions[^]
Are you being facetious?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
The key also have many subkeys So it is not possible for me to do so, Is there any alternate to rename the same key without deleting.
MPTP wrote:
The key also have many subkeys So it is not possible for me to do so...
It's certainly possible. You just have to be willing to put forth effort to do it.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
Rajesh R Subramanian wrote:
On a serious note, see CRegKey[^] and Registry Functions[^]
Are you being facetious?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
Why, yes. That was best reply I could give to a lazy person like him. :)
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]