Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do I get the correct program to open my PDF files?

Question:

I downloaded a pdf e-book and selected windows media player by accident. All my downloads go there and windows media player can’t open it there. What do I do to correct this problem?

This is actually pretty common. Not just for PDFs, but for any file type where either you’ve selected the wrong program by mistake, some other program has been installed that “takes over” a particular file type you don’t want it to, or just the generic “This file does not have a program associated with it” error when there’s no program to open it at all.

Selecting the correct program to open your .PDFs, .MP3s or .whatever files is actually pretty simple, just not obvious.

I’ll show you how.

Become a Patron of Ask Leo! and go ad-free!

I’m guessing you’re seeing something like this:

Windows Media Player attempting to open a PDF file

Naturally, we’ll say no, since Windows Media Player clearly wouldn’t know what to do with a PDF document.

To fix it, first locate the file you want to open in Windows Explorer:

PDF file being displayed in Windows Explorer

Right click on the file and click on Open with…

PDF open in Windows Explorer, with Open with... showing

In the resulting dialog, you may find the program you want right at the top of the list. (Don’t click it yet!)

Open with dialog

If you do see the program you want to use listed (in this case I want FoxIt Reader to open my PDFs), then make sure that “Always use this program to open this kind of file” is checked.

After ensuring that option is checked, double click on the program to use (again, FoxIt Reader in my example above). Two things will happen:

  • The file association for “pdf” files will be changed to use FoxIt henceforth.
  • The file you’ve double clicked is opened by the program you’ve selected.

Two birds, one stone.

If the program you need to use to open the file is not listed in the Open with… dialog above, and you know it’s installed on your machine, click on the browse button to find the program manually.

Open with... browse for file dialog

In the example above I’ve navigated to:

C:\Program Files (x86)\Foxit Software\Foxit Reader

This is the location where Foxit Reader is installed, and I would choose “Foxit Reader.exe” as the program to be used. Naturally what location or program you would select depends on what file type you’re dealing with and what programs you have available on your machine to open that file type.

This applies to all kinds of mis-associated or un-associated files and the programs that should be used to open them as well.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

9 comments on “How do I get the correct program to open my PDF files?”

  1. I’m going to seem so nick picky, but I thought you might want to know that you said Firefox when it’s obvious you meant Foxit. Not a big thing, but I used to write for a newspaper and had to edit my own stuff and now it’s second nature to edit everything I read…I drive myself crazy! lol
    Also, wanted to let you know that you have been a huge help to me more times than I can say. Thank you for your clear, totally understandable answers to our questions. I was able to recommend you to a friend today and he has become a big fan too!
    Thanks again,
    Nancy

    “The file association for “pdf” files will be changed to use FireFox henceforth.”

    Reply
  2. I’m glad you mentioned Foxit as the correct program to open pdf files. #1 It’s much faster than A-dopey Reader and #2 since it now blocks the running of scripts, it’s much safer. I used have A-dopey installed since at one time there was a rare pdf that didn’t open properly in Foxit but I haven’t needed A-dopey Reader in years. Steven Jobs has a point, A-dopey products somehow have been some of the biggest openings in the wall of Troy.

    Reply
  3. this sounds very good for this issue but I usual get nothing to give me a idea what the file is called to look for the program to open it . and sometihng like a program called file helper was of no help LOL what other programs are out there that you can install that will tell me more detail

    Reply
  4. To Darlene: if you have a file with an unknown extension, just google it, you will find out easily which is the right programm for opening it. Then of course you will have to get the programm somehow and follow the steps Leo described. Another possibility (not for pdf) may be trying to import it into some other programm, but that doesn’t work for many extensions.

    Reply
  5. To extend your answer, there is another feature I like to take advantage of. IE and FF default to downloading files to a specific location. I prefer to set it to prompt me asking where I want the files saved. EG in FF it is Tools menu / Options option / General tab / turn on “Always ask me where to save” option. I have my documents stored in topic specific folders, so I always navigate to the correct folder before downloading.

    Reply
  6. Leo, thanks for mentioning something other than Adobe Reader. You are the first high-profile person I have seen do that. Adobe still saturates the web, as it is used by all gov’t agencies and most big businesses…and it is not the best one out there. It is Bloatware. I use Sumatra because it is portable and very light. I also have Portable Foxit on a thumbdrive for .pdfs with links.

    Reply
  7. Thanks for the info. I had a default to roxio media player for all audio files (Windows XP) and I prefer Windows Media Player. I tried the “open with” and a short list came up with Windows Media Player at the top. You reminded me that I should not have selected it from the short list, but instead use “choose program” to select the desired associated program. (WMD player still near the top of the list.) Then I could access the “always use the selected program to open this kind of file” check box.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.