We help IT Professionals succeed at work.

file association and MIME type question

eriklee
eriklee asked
on
1,260 Views
Last Modified: 2013-12-29
WHAT PROGRAM/PROCESS actually populates the registry/MIME-map with MIME/sub-type values  e.g IMAGE/gif to files with gif extension..?  
Does the MIME/subtype play a role on the deskstop beyond the browser?
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks very much JR, hope u don't mind me pushinbg my luck for asking u to further comment on how applications get to be the default 'Opener'. Currently JPegs are opened by Paintshop -what if i install Corel? *Is it on a first-in basis?

*Notice the following entries in EXPLORER for jpegs:-
 EXTENSION         JPE JFIF JPEG
 MIME              Image/jpeg
 OPENS WITH        PSP (paintshop)
*Howcome the extension does not include  .jpg ?? And still if u click on any '.jpg' files ,Explorer opens them in Paintshop

*If i stick a file into an internet server -- is the server (it's MIME-map) responsible for coding the MIME/subtype value (eg. image/gif) or the original application?

Thanks again ;-)

Commented:
You can specify the program you want to use to open a file type.  YOu go to windows explorer, on the menu click VIEW | Options | File Types, scoll to the file you want to edit, pick the file type, click the EDIT button, highlight the open in the text box, click browse and browse to the program you want to open the file with.  This will make that the default program for that file type.

In my experience, most files are associated with programs when the program are installed on a last-in basis because each program developer seems to think that you will want to use his/her program and none other to open certain file types.  Sometimes, however, on good software, the program will ask you if you want to change  the file association to that program during the setup or install.  It's hard to predict which programs use which method.

.jpg is the old DOS extension for the .jpeg file type and thus are treated like .jpeg.  This is similar to .htm and .html files.

Internet browsers deal with file types in a similar but somewhat different manner.  Usually the application that each "MIME" type envokes is part of the preference for the browser.  This is true of Netscape anyway.  Windows Internet Explorer probably uses the Windows Explorer file associations but don't quote me on that because I'm not a IExplorer person although I have installed the program and ran it  few times.

You can readily change the file association using the method I first stated in this comment.  You can also open a file in Windows Explorer, with a non-associated program buy highlighting the file, holding the shift key and right clicking the file.  In the context sensitive (right button menu) you'll see and "Open with" if it is appropriate.  Click that and you will get the list of programs (and you can browse for something not on the list) to choose.  Click the program and the program will open with the highlighted file.  Be aware, of course, that if you open--say--a Word document in a text editor you will likely get gobbly-gook since this is not an appropriate program for a Word document.  And, of course, most programs give you commands for openning appropriate files, after you run the program.

Hope this helps.



Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.