[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 900
  • Last Modified:

Associating a Default Program per individual file

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?
0
mikes8500
Asked:
mikes8500
1 Solution
 
LeeTutorretiredCommented:
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:

http://www.7tutorials.com/how-associate-file-type-or-protocol-program
0
 
George KhairallahCommented:
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:
File1.bat
@echo off
"c:\program files\adobe\reader 10.0\reader\acrord32.exe" c:\file1.pdf
0
 
Seaton007Commented:
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.
0
 
George KhairallahCommented:
You can also do the same with a shortcut, instead of a batch file. it's probably easier :)
0
 
mikes8500Author Commented:
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!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now