Setting file associations via command line

31 views
Skip to first unread message

Thane K. Sherrington

unread,
Apr 16, 2025, 12:44:31 PMApr 16
to enter...@mozilla.org
Hi All,
    Is there a way via command line (batch or powershell) to set associations to Firefox?  I know about SetUserFTA, but I'm thinking about extensions like - shtml, svg, and webp - in W11 these are set to Edge, and I'd prefer Firefox.


--
Thane K. Sherrington

Computer Connection, Ltd. ...taking the mystery out of computers since 1982.
Winner of the 2012 Ian Spencer - Excellence in Business Award
Thanks for making us the Reader's Choice Best Computer Store in 2016, 2017, 2018 and 2019!
95 College St.
Antigonish, NS
B2G 1X6
902-863-3361 (phone)
th...@computerconnectionltd.com

Mike Kaply

unread,
Apr 18, 2025, 11:40:55 AMApr 18
to Thane K. Sherrington, enter...@mozilla.org
I chatted with the team and we don't have a way to do that in Firefox. The only suggestion was:

Group policy can be used for this: https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-applicationdefaults
SetUserFTA certainly should work for shtml, svg, webp just as well as it works for anything else... but of course it's a hack

Mike

--
You received this message because you are subscribed to the Google Groups "enter...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise+...@mozilla.org.
To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/enterprise/8f108dce-096a-451b-af8e-3a0f416bed5a%40computerconnectionltd.com.

Thane K. Sherrington

unread,
Apr 22, 2025, 11:19:11 AMApr 22
to Mike Kaply, enter...@mozilla.org
Thanks Mike, I'll give that a try.  It's beyond how MS changed the file association system to make it so restrictive that only MS and criminals can change the settings easily.


Thane K. Sherrington

Computer Connection, Ltd. ...taking the mystery out of computers since 1982.
Winner of the 2012 Ian Spencer - Excellence in Business Award
Thanks for making us the Reader's Choice Best Computer Store in 2016, 2017, 2018 and 2019!
95 College St.
Antigonish, NS
B2G 1X6
902-863-3361 (phone)
th...@computerconnectionltd.com

Marco Gaiarin

unread,
Apr 22, 2025, 11:45:33 AMApr 22
to enter...@mozilla.org
Mandi! Thane K. Sherrington
In chel di` si favelave...

> Thanks Mike, I'll give that a try. It's beyond how MS changed the file
> association system to make it so restrictive that only MS and criminals can
> change the settings easily.

Thanks Thane, i've now a new tagline... ;-)

--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Reply all
Reply to author
Forward
0 new messages