/build/static/layout/Breadcrumb_cap_w.png

Renaming the registry through batch file

Hi,

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

Answers (1)

Posted by: bearden3 13 years ago
Purple Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ