I need to rename a registry hive through batch file i.e.,
"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VS_1" to "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VS"

I have tried different ways but i am not able to do the same.

Could anyone just let me know if there are any other ways!

Thanks in Advance.
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


How about using the REG command:
REG COPY KeyName1 KeyName2 [/s] [/f]

and then followed by:
REG DELETE KeyName1 [/f]

You can do reg /? at the command prompt for examples.
Answered 11/03/2011 by: bearden3
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity