Hello, I would like to know if any of you can tell me how I can edit a file in the registry using C? I can go on my PC and run regedit and rename the file my self. But I am looking to make this step automated! I want to run my program and rename a file I have in the registry. The path I'm trying to reach is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Policies\Ratings

I'm looking to rename this file to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Policies\Ratings1

Thanks for any help...