Associating a Default Program per individual file

Posted on 2012-08-20
Last Modified: 2012-08-20
Is there a way to associate an individual file (PDF in  this case) with a specific program that is not the system default program?

I have 2 different programs that open PDFs in my office; Adobe Reader and Bluebeam. At our conference machine for the sake of presentations, the default viewer is set to Adobe Reader. However, when we use the conference machine for in-office use, we would prefer files to open in Bluebeam. We have only 10 PDFs that really need to open in Adobe Reader and I would love to have the system Default Program set to Bluebeam, but these 10 files open in Adobe Reader.

Is this possible?
Question by:mikes8500
    LVL 59

    Expert Comment

    I don't really think there is, since the default program is by file type, which is the file extension of the name.  However, method 3 in this tutorial allows you to open a particular file with the program you want, but it will not associate it with that program:
    LVL 10

    Expert Comment

    by:George Khairallah
    I believe file associations are universal. However, once you've used a certain program or a set of programs to open a file (even if not set to open with a particular one by default), these programs start showing up in in the "Open With" pop out menu, so it will be easy to open those 10 files with a different program.

    Another idea would be -- and that is if it's really just a set of 10 files that will not change frequently -- to create a small batch file that would launch the file.
    So, it would be something like:
    @echo off
    "c:\program files\adobe\reader 10.0\reader\acrord32.exe" c:\file1.pdf
    LVL 12

    Accepted Solution

    I don't know of a way to associate a single file like that, but you can create a shortcut that would open it in the program you want.  

    Just do the following:
    1. Right-click on the blank space of your desktop, then click New, then click Shortcut.
    2. Then type in the shortcut using the following format as an example:
    "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" "C:\Users\USERNAME\Documents\FILE.pdf"
    3.Then click Next
    4.Type a name for your shortcut, and then click Finish

    Now the shortcut in this example would open the FILENAME.pdf file with the AcroRd32.exe program.
    LVL 10

    Expert Comment

    by:George Khairallah
    You can also do the same with a shortcut, instead of a batch file. it's probably easier :)

    Author Closing Comment

    This worked perfectly. I tried something similar, but put a double dash -- in front of the second address that Adobe Reader didn't like.<br /><br />Thanks for the help and quick response!

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
    Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
    This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
    The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now