Does anybody know how can I copy something from registry then I write it to file.
Also write something to registry in C.

Something like:
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript\8.11
then i write it to filel like "fileold"
and write a new name like
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript\10
________________________________________________

Second how can I then lets say open "fileold" in notepad from
C.
That will be something like -> I ask do you wanna see your old registy?
if yes -> notepad will open and in notepad will be text from "fileold".