為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 於 修改