Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is it possible to set a specific file to open with another program?

30 Nov 2011   #1
ziklz

Windows 7 Ultimate x64 (main), Windows 8 Consumer Preview x64
 
 
Is it possible to set a specific file to open with another program?

I know it's possible to open a specific file type on a specific program (using default programs or "open with" context menu). But I was wondering if it's possible to apply that on a specific file, not file type.

For example, I have 4 videos (vid1.avi, vid2.avi, vid3.avi, vid4.avi) and I want vid1.avi to open in WMP (by default) while the other 3 in another video player like MPC (also by default). Is it possible?


My System SpecsSystem Spec
.
30 Nov 2011   #2
Sub Styler

Windows 7 Ultimate x64
 
 

Not by default, but you could do it using a new shortcut.

Create a shortcut to the player.
"C:\folder\player.exe"

Then add the path to the file you want to play so the shortcut points to:

"C:\folder\player.exe" "D:\videos\avi1.avi"

Another option is to change the file extension to something unused e.g. .bvi instead of .avi and then associate the .bvi extension to the player you want for that file

Another option is to convert the file to another known format and associate that with the alternate player.
My System SpecsSystem Spec
30 Nov 2011   #3
rraod

MS Windows 7 Ultimate 64-bit SP1
 
 

File name's extension part is used for opening the file with a default program. To change the default program you have to use the Open with command or from the File-Open menu command from within the program.

There is no way to open one file with one program and another file with a different program, by double clicking on the file names when the extension of both files is same.
My System SpecsSystem Spec
.

01 Dec 2011   #4
ziklz

Windows 7 Ultimate x64 (main), Windows 8 Consumer Preview x64
 
 

Tried Sub Styler's suggestion, and it works even on other file types. It's a bit of a hassle though when the file is moved.
My System SpecsSystem Spec
01 Dec 2011   #5
Sub Styler

Windows 7 Ultimate x64
 
 

I gave 3 options,

Yes the shortcut method is reliant upon the files remaining in the same location. The other options should not pose such a problem. (if you rename an .avi to .bvi it will still be an .avi and play normally when associated)

Edit: To change a files extension you will need to uncheck the "Hide extension for known file types" in the folder view setting dialogue.

Name:  folder view.png
Views: 5
Size:  58.1 KB


My System SpecsSystem Spec
01 Dec 2011   #6
rraod

MS Windows 7 Ultimate 64-bit SP1
 
 

Yes Sub Styler's method is to circumvent the default file extension. Changing the file's extension is a good idea. OP can setup different media files for different players by this method.
My System SpecsSystem Spec
Reply

 Is it possible to set a specific file to open with another program?




Thread Tools




Similar help and support threads
Thread Forum
Can't delete file. says that it is open in another program.
I downloaded a file a while back that i couldn't get to work properly. after much trouble shooting I finally gave up and decided to delete the file. Low and behold i can't delete the file. all i get is the error message: "the action can't be completed because the folder or a file in it is open in...
General Discussion
batch file open file for program in the startup folder
I have a computer that is a drone specifically for an outside LED sign. This computer is designed to never shut off and doesn't have any other program on it besides Operating System and the sign software. I need to create a batch file that I can place in the "start-up" folder that will open the...
General Discussion
Choose the program you want to use to open this file!!
Hello, Everytime I restart my laptop, I get this pop up "Choose the program you want to use to open this file" for a file that has no extension, or at least the extension of the file isn't shown. I tried opening the file with notepad and get some sort of list with the title "Interface List". ...
General Discussion
File explorer--open to specific
I keep my data files under the directory C:\MyData\... I would like when opening explorer for it to open to same (expanded) within the left pane. With explorer open to that location, I go to Tools, Folder Options, General and check off automatically expand to current location--which explorer...
General Discussion
No program designated to open the .eml file
Shawn, I am having trouble with .eml files that are attached to emails. Win 7 says that there is no program designated to open the file. I use the information in this thread to gain entry to the list - lo and behold .eml is already listed. So I uncheck it and recheck it and rebuild the file...
Browsers & Mail
Always Use this program to open this kind of file
I was editing a .cfg file for half life 2 and used the "open with" and click "Always use this program" and checked it, and used Notepad to open it. It worked fine and I could open the file. Once I played the game, the "startup videos" would no longer play for ANY hl2 engine game! I knew it was...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 06:53.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App