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: Associate file type by file path

04 Jan 2016   #1

Windows 7 Pro
Associate file type by file path


I work with film editing and need to have several media players. I wonder if it is possible to associate file type to different programs, depending on the file path. I.e. every file in path E:\ is opened in program1 by default, and program2 takes care of the rest of the paths. Today I use right click and "open with", which gets kind of annoying.

Thank you! :)

My System SpecsSystem Spec
10 Jan 2016   #2

Windows 7 Ultimate x64

I think the ideal option would be to add many options to the context menu, so it becomes simply right click => Open with Player1, or right click => Open with Player2, and so on, with maybe one of them being the default for the standard double-click. Simply a little registry tweaking gives this result.

Associating a file with a path makes no sense at all. Windows associations are entirely based on file extension, which in turn is (by convention) related to file content, which is what really defines what programs can handle. The very same file on different folders is able to be opened with the very same programs.
But an option to do so could be to associate the extension with a bat file that determines what to run based on the path.
My System SpecsSystem Spec

 Associate file type by file path

Thread Tools

Similar help and support threads
Thread Forum
Default Programs - Associate a File Type or Protocol
How to Associate a File Type or Protocol Default Program in Window 7 This will show you how to associate a file extension type or protocol to open with a program you select by default in Windows 7. These Default Programs association settings are a per user setting and not applied to all...
Default Programs/Associate a file type or protocol with a program BUG
Trying to change some file associations, so following the standard procedure: Default Programs Associate a file type or protocol with a program When it tries to load the file extension list ('Loading....'), I get the messages: Windows explorer has stopped working Windows is checking...
General Discussion
Associate a file type
I accidentally associated the .lnk (shortcut) extension with a program. Now all my desktop icons open that program (Picassa). I tried to change it back to Unknown Program using "set associations - change programs" but it does not give the option to change it to "Unknown Association" Can anyone...
General Discussion
what can i associate an .nsis file type with
Hi. I am unfamiliar with the windows installer of a piece of software I downloaded. The installer's file type is: .nsis Win7 is asking me to identify the prog that will run the file type. From search, I have learned that the .nsis stands for Nullable Install system script (?). However,...
Associate file type to xp mode application?
i have this seen before installing acrobat on my seven, while successful testing to use an old scanner and other hardware in the virtual xp, i had to install acrobat reader 5. suddenly all my pdf files, formerly with unknown icon had the old acrobat 5 icon and on double click the xp mode...

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 04:54.
Twitter Facebook Google+