I have a small problem which is I can't change the default value of files with extension .c to open with sublime text editor as default, although I can do that manually, I want to do it via .reg file, so I can do that with other extensions as well with only one reg file.
my tries:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.c\Shell\Open\Command]
"Default"="C:\Program Files\Sublime Text 3\sublime_text.exe"
this creates another Default
variable instead of replacing the default variable,
I tried this too
[HKEY_CLASSES_ROOT\.c\Shell\Open\Command]
"(Default)"="C:\Program Files\Sublime Text 3\sublime_text.exe"
I thought maybe I need to write it the way it is in registry (Default)
,
but that didn't work too, any solution to my problem?
@=
instead of"Default"=
or"(Default)"=
. You may also need to escape the backslashes like this:C:\\Program Files\\Sublime Text 3\\...