20
18
For some reason lately I've experienced this issue with trying to set a default application for an extension. The most common ways are the following:
Right Click > Open With > Choose Default Program This opens a dialog window with the option to browse any application to use for one-time only OR (by checking the appropriate checkbox) this would effectively set the default application for the selected filetype.
Control Panel\Programs\Default Programs\Set Associations This settings page allows you to set the default program for every known filetype. Just as in option #1, you select the "change program" button and from the dialog window you selected the new default application
For many windows users this is nothing new, the problem is what about when the application I want doesn't appear in the options? I even browse and find the .exe
file I want and select it and still it does not appear as an option.
How do I get the application to appear as an option so that I can set it as the default application?
Open to additions but currently having trouble with setting .md files to Sublime Text using this method. For some reason it won't come up as an option even though the CLI inserts appear to work fine – Xtremefaith – 2014-11-20T19:09:45.170
2Changing the handling of .scr files was only possible when the ftype command was issued in an administrator command line. – Janosch – 2017-02-03T14:10:59.260
@Janosch thank you for your comment. it's not only for .src. Xtremefaith, please add it to response - thatone should run cmd as Administrator to do that. – Line – 2017-10-12T10:44:12.533
1Good answer but seems to work only for certain programs: Those which are properly "registered" with Windows, i.e. those which show up under window-s-settings, apps, "Defaults Apps", main pane at bottom "Set defaults by app". I managed to follow the instructions above and my "bad" app now shows in the context-menu on right-click but does not open when I click on that. – Martin Zaske – 2018-10-07T12:12:55.203
Used it for
.c
(and.tgz
) files. That Visual Studio didn't want to give them up to SublimeText (same with.cc
)! All works now! I had to restart PC after given steps. – Brambor – 2018-11-21T20:41:43.723