为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to specify application by extension rather than mime type (e.g., docx as word, not xml)

  • 2 个回答
  • 5 人有此问题
  • 1 次查看
  • 最后回复者为 unlabeled

more options

When I try to open a link to a file.docx or file.xlsx, FF sees it as an xml file and wants to open it in my default xml application. I can select Word or Excel (I have Office 2010 installed), but a) it doesn't remember that in the applications list, so I have to browse applications each time, or b) if I set it to always use that type, it tries to open docx in Excel or xlsx in Word, depending on last usage. How can I specify applications by file extension instead of seeing these as the same type of file?

Thanks, Ian FF 15.0.1, Win 7, Office 2010

When I try to open a link to a file.docx or file.xlsx, FF sees it as an xml file and wants to open it in my default xml application. I can select Word or Excel (I have Office 2010 installed), but a) it doesn't remember that in the applications list, so I have to browse applications each time, or b) if I set it to always use that type, it tries to open docx in Excel or xlsx in Word, depending on last usage. How can I specify applications by file extension instead of seeing these as the same type of file? Thanks, Ian FF 15.0.1, Win 7, Office 2010

所有回复 (2)

more options

Do you know if the website where you are downloading the files from is set up with the correct mime types? Often if the server doesn't know what the file types are, it serves them as generic xml.

An alternative solution could be to right-click the file and save it some place on your computer. Then when you double-click the file, Windows should recognize it and use the appropriate program.

For reference, here's the article we have about this - Manage file types and download actions in Firefox

more options

I don't know if the source server sends the right mime type - it probably doesn't. In fact, now you mention it, I'm not sure I've tried this from any sites except one, which is the one giving me problems. I'll try contacting them about fixing their mime types. Assuming though that they can't or won't fix it, the question still remains - is it possible to set application by extension rather than by mime type?

Yeah, I can definitely save it and open it, just trying to take the easiest possible route for a quick view.

Thanks.

由unlabeled于修改