[Migrated content. Thread originally posted on 10 June 2008]
I am trying to rename a subkey in the windows registry and it appears as though there is not a way to do this with a simple command. From a lot of the searching I've done, it seems like I must create new entries for each of the values underneath my subkey and then delete the original. Is this true? Does anyone have a sample program in COBOL that does this?For example, I want to rename the following key:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Robstan
to:
HKEY_LOCAL-MACHINE\\SOFTWARE\\NewRobstan
There are several subkeys and values underneath Robstan. I'd love to hear some suggestions on this one. Thanks in advance!
Rob



