On 2025-02-25 22:09, Jean SUZINEAU via fpc-pascal wrote:
I haven't done it recently but basically on Windows you have keys in
the registry under HKEY_CLASSES_ROOT to associate your program with a
specific file extension.

You can view the registry with regedit.
 .
 .

I'd add that you can define the association either using an installer used to install your program on the PC, or you can do it manually without any installer - the latter may be done in two ways, the first being right clicking a file with the extension you intend to associate to your program, selecting "Open with" from the context menu, then selecting "Choosing app on your PC" at the bottom and then selecting the "Always" button after finding the path to your program; the second being using the Settings dialog -> Apps -> Default apps -> Choose defaults by file type and then again "Choosing app on your PC" at the bottom.

Tomas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to