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:

Article C2784 - September 11, 2006

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

Your Name:
Your Email:


Why Subscribe?

Recent Comments
44 Comments

we deleted the microsoft edition 2003 trial which expired would this have caused the problem . The file does not have a program associated with it for performing this action. Or did she need to update her computer

Posted by: katharine Steinbugl at April 2, 2009 3:41 AM

i am facing this problem when i am trying to open inter explorer don know wat to do ??

Posted by: mukund at April 3, 2009 10:25 AM

Hi,
I get the no association message when opening a file from an email in MS live mail. the files have an association, I redid it, unistalled the programs EG: VLC and WMP, same problem, the file open if I save them.

Thanks
Eddy

Posted by: Eddy at April 18, 2009 7:40 AM

please help!!!!!I get this message "this file does not have a program associated with it to perform action.create an extension in the folder option control panel" when i try open my drives c,d by double clicking on them.please give me a solution.

Posted by: ranatel at June 29, 2009 6:02 PM

Certain file extensions won't open app. "no program associated" error. In particular HTML is set to ope with Firefox yet double clicking .html files gives the association error. When reset to default it will open with IE. I can edit it in the control panel to open with Firefox, however then I go back to the same error. The icon is changed to the firefox icon but FFox won't open.

Posted by: Paul at June 30, 2009 1:28 PM

My solution: Right click on email attachment; click on "save as"...; then locate in documents; double-click on icon and it opens!

Posted by: Annie at July 1, 2009 9:31 AM

my windows cant open any file.........of any extention....exe .reg any file!!! it just says tht windows doesnt know which software created it!!please help!!

Posted by: shrey at August 8, 2009 5:38 AM

may i open all program. when i try to open file exe on windows xp. the program alway ask me "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." how can i open all file on my computer. Please help me! Thank you.

Posted by: vanna at September 12, 2009 2:46 AM

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

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!