Ask Leo! by Leo A. Notenboom

This file does not have a program associated with it - what does this mean and what do I do?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Windows

Summary: This file does not have a program associated with it is a common error message when Windows doesn't know what program is used to open a file. I'll look at what that means, and step you can take.

How can I create an association in Folder Options? I get this error message when attempting to open picture attachments on Outlook Express: "This file does not have a program associated with it for performing this action. Create an association in the Folder Options control panel."

A file can contain anything. Under Windows (and under MS-DOS before it), the convention was established that the characters following the last period in a file name, called the file "extension", tells you what kind of data that file contains. ".EXE", for example, is an EXEcutable program. ".JPG" is a jpeg compressed image file, ".TXT" is a plain text file, and so on.

In addition to knowing what type of data a file contains, Windows also needs to know what program should be used to access that file.

If that information is missing, then "This file does not have a program associated with it..." is one of the possible error messages.

In email, this most commonly happens when someone sends you an attachment with data created by a program you don't have. For example if someone were to send me a ".psd" file, when I attempt to open it, I might get this error:

This file does not have a program associated with it...

The reason? I apparently don't have a program installed that understands what to do with a ".psd" file. As a result, I cannot open the file.

The most common way to resolve this issue is simply to install a program that understands files of that type. In most cases, when a program is installed, it also sets up the associations for all the file types that it understands. In this case, if I were to install Adobe PhotoShop, which understands ".psd" files, then I should be able to open them without a problem. Attempting to open a ".psd" file would then start up PhotoShop, which in turn would read and display the file.

Sometimes these associations between file extensions and the programs that understand them can get lost, or confused. The second most common way to resolve this is to use the application that should understand to repair the associations. If you know, for example, that you have a program that understands the file, but you're still getting that error, there are some common approaches:

"The most common way to resolve this issue is simply to install a program that understands files of that type."
  • Many applications allow you to control exactly what file extensions they are supposed to support in their options. Fire up the application that's supposed to handle that file type, and search for its options dialog, or other settings. If you find the ability to associate the program with a particular file extension, this can resolve the problem.

  • As I mentioned, many programs set up their associations when installed. If the program offers it, in Control Panel, Add/Remove programs, find the program that's supposed to handle this file type, and perform a "repair" install.

  • If "repair" doesn't work, or isn't available, then a full uninstall and re-install of the application may do it.

A good example of a "repair" that's not at all obvious, is the solution for Windows Picture and Fax Viewer. If you want to restore the association between Windows Picture and Fax Viewer and most image files - meaning you want to view most image files using Windows Picture and Fax Viewer - then click Start, Run and type in the following cryptic command:

regsvr32 /i shimgvw.dll

Press OK a couple of times and things are reset. This doesn't work for everything, but it's an example of how many programs have the ability to reset their associations without needing to be reinstalled.

OK, what if none of that works, or for some reason you want to do things the hard way ... er, by hand?

First, you need to know what program you want to use to open a particular file, and that program must already be installed on your machine.

Now, fire up Windows Explorer (right click on My Computer and click on Explore is one quick way). Click on the Tools menu and then the Folder Options item. In the resulting dialog, click on the File Types tab, and you should see something like this:

Folder Options, File Types tab

In that list, scroll down to the file type, the "extension" you want to add or modify. I'll continue with my example and look for "psd". It's not on the list, so I'll click on New, where I'm presented with this dialog:

Create New Extension dialog

Note that I've already typed in "psd".

Now, all that did is create an empty entry in the list:

Folder Options, File Types tab with new entry

Once it's in the list - or if it already was - we click on Change and ... oops, we get this message:

Windows cannot open files of this type message

Since we're doing this manually, we'll "Select the program from a list", and click OK. We're then presented with a list of the installed software on your machine:

Open With dialog

In my case I happen to know that a program I have installed, Firehand Ember, will also read my "psd" files, so I click on that, make sure that "Always use the selected program to open this kind of file" is checked, and press OK. Now when I try to open a ".psd" file, Firehand Ember will be launched and used to display the file.

Obviously you'll need to choose both the correct extension and program for the problem you're attempting to solve.

Quite often you'll be faced with a file extension and have no clue as to what it is, or what program should be used to open it. There's often no single answer, but a good resource to research the meaning of various file extensions is FileExt.com. There you can enter an extension and it will list all the possible meanings, including the most likely or most common use.

Why do I say there's often no single answers? Because there's nothing to prevent two or more different and totally unrelated programs from using the same file extension for totally different things. A great example is the ".dat" file - I count well over 20 different possibilities, and there are probably many, many more. In case like this, you'll need to know more about what program was used to create the file before you can make a choice on how to open it.

Related:

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Article C2784 - September 11, 2006

Was this article helpful? «Yes» «No»

Recent Comments
47 Comments

I deleted Mozilla firefox and want to reinstall, but get this message. I don't know how to fix this problem in the control panel, folders option???

Posted by: Michele at September 20, 2009 11:35 AM

I have this error popping up every time I start my computer. I downloaded an excel spreadsheet pulled some information off of it then deleted it. Is there a way I can make this pop up stop coming up?

Posted by: Phil at October 31, 2009 7:56 AM

im not able to open any link in my email
windows live inbox,
i recieve this when i click any link
(file doesnt have a program associated with it for performing this action. create an association in the folder options control panel)

Posted by: yasso at December 26, 2009 12:32 PM

WHEN I GO TO THE COMMAND THAT SAYS "OPEN WITH.." IN ANY FILE, I GET THIS TEXT "There is no program associated with this file to perform the action.
Create an association in control panel "definition correlations."
THE PROBLEM IS THAT 2 DAYS AGO THE COMMAND WORKS PERFECTLY .I TRIED TO DO RESTORE SYSTEM AND THE PROBLEM REMAINS.I HAVE DONE ALL THE STEPS THAT WIN TOLD ME ..CONTROL PANEL.....

Posted by: jakas166 at January 17, 2010 1:48 AM

Even after following all the above, still I'm unable to get over this problem!

Posted by: muneer at January 19, 2010 8:14 PM

Post a comment on "This file does not have a program associated with it - what does this mean and what do I do?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!