i dunno what happened, but suddenly my .reg files are getting opened in notepad; when actually i want them to do the default "entry of registry values"
can anyone guide me onto how to resume the original function?
Hey,
You should be able to restore the associated program to registry editor instead of notepad.
open up "my computer", then click "tools", "folder options", "file types" and then scroll down until you see "REG" in the list.
Then you should hopefully see the option "restore". If not, you will see a button labelled "change". Press this, and then in the program list select "Registry Editor" (it should be under recommended programs). Then make sure the box saying "always use this program to open the selected file type" is selected, and press "OK".
Then press "apply" and then "OK" in the next window, and it should restore the file association, stopping REG files opening in notepad.
Hope that helps.
You should be able to right click on the file, select 'open with' and then click on choose program and pick registry editor from the list, make sure the 'always open with this program' checkbox is checked and you should be good to go.
If registry editor isn't in the list, then just select browse, and browse to c:\windows\regedit.exe and pick that program to open with.
(provided that Windows is installed in the folder c:\windows)
done.. thanks... was searchin 4 the Reg Editor... browsed and found it... was not in the list....
You can use the command when you open the "cmd" shell
"assoc .reg=regfile"
It's easier to reassociate the .reg file to nomal state!