When saving WinRAR in Firefox, you cannot select "automatically process such files with the same action in the future ".

Source: Internet
Author: User
Tags extension rar

Source http://hi.baidu.com/xbeyondx/blog/item/0a98cc13c37cc5d8c2fd787b.html

Firefox version 8.0.1

The directory in win7 is c: \ Users \ User Name \ appdata \ roaming \ Mozilla \ Firefox \ profiles \ 1dn9d5pz. Default
Or
The directory in XP is c: \ Documents ents and Settings \ User Name \ Application Data \ Mozilla \ Firefox \ profiles \ wphe3m45. Default
The string before. default in the 1dn9d5pz. default directory name is randomly generated when Firefox is installed, and each person may be different.
In the preceding directory, there is a file named mimetypes. RDF. How does this file manage the file with any extension used by Firefox? For example, it can be opened directly in Firefox when RSS is used.
Solution:
1. run firefox, and choose tools> Options> applications. Program First, change the question of zip to save the file. Then exit Firefox.
2. Open the mimetypes. RDF file mentioned above in a text editor and search for urn: mimetype: Handler: Application/zip to find two sections. They are
<RDF: Description RDF: About = "urn: mimetype: Application/zip"
NC: value = "application/zip"
NC: editable = "true"
NC: fileextensions = "Zip"
NC: Description = "ZIP Archive">
<NC: handlerprop RDF: Resource = "urn: mimetype: Handler: Application/zip"/>
The general idea of this section is that the file with the extension zip, the default open program is the zip program in the system (may be 7z, WinRAR, etc ).
And
<RDF: Description RDF: About = "urn: mimetype: Handler: Application/zip"
NC: savetodisk = "true"
NC: alwaysask = "false"/>
The general idea is that the files opened by the zip program by default do not need to be opened or saved. The save box is displayed directly.

Add

<RDF: Description RDF: About = "urn: mimetype: Application/RAR"
NC: value = "application/RAR"
NC: editable = "true"
NC: fileextensions = "RAR"
NC: Description = "ZIP Archive">
<NC: handlerprop RDF: Resource = "urn: mimetype: Handler: Application/RAR"/>
The general idea of this section is that the file with the extension RAR opens the RAR program in the system by default (there may be no RAR program in the system, that is, urn: mimetype: Handler: the RAR at the end of application/RAR can be replaced with mimetypes. any string in the same position as other strings in the RDF document ).
And
<RDF: Description RDF: About = "urn: mimetype: Handler: Application/RAR"
NC: savetodisk = "true"
NC: alwaysask = "false"/>
By default, files opened using RAR programs do not need to be opened or saved. The save box is displayed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.