Author Topic: File types associations  (Read 1198 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2509
  • Hero Points: 206
  • Text
File types associations
« on: February 19, 2018, 10:57:27 pm »
In Windows explorer if you right-click on a file and select "Open With", then pick out Slickedit - then double clicking on that file type in the near-future will work.

Fast forward to when you next upgrade slickedit, and now this is broken.
Now that I've installed VS 22.0.2, double-clicking on .md files is broken because Explorer doesn't know where Slickedit is.

I know that the user right-clicking and setting the default program sets the "@=Slickedit" entry in the registry.
I don't know who set HKCR\SlickEdit\shell\open\command, but it should get updated.
Note: I installed 22.0.2, then I uninstalled 22.0.1 and 22.0.0.

Note that Python3 has a nice solution to the multi versions thing: The python launcher "py.exe".
It is registered with Windows, and it will in turn run the correct version of python.
This allows you to install and uninstall various versions of python without getting into trouble with the registry.

I'd imagine an install path like
    C:\Program Files\SlickEdit Pro\win\vs.exe
which is not version specific.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.md]
@="SlickEdit"

[HKEY_CLASSES_ROOT\SlickEdit\shell\open\command]
@="\"C:\\Program Files\\SlickEdit Pro 22.0.0\\win\\vs.exe\" \"%1\""