The Computer Oracle

What program do you use to edit file associations in Vista and Windows 7?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Dreaming in Puzzles

--

Chapters
00:00 What Program Do You Use To Edit File Associations In Vista And Windows 7?
00:38 Answer 1 Score 0
01:07 Answer 2 Score 0
01:36 Answer 3 Score 0
04:18 Accepted Answer Score 24
05:01 Thank you

--

Full question
https://superuser.com/questions/22933/wh...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #windowsvista #fileassociation

#avk47



ACCEPTED ANSWER

Score 24


Default Programs Editor was created for this purpose! From the site:

File Type Settings:

  • Add, Edit, and Delete context menu items
  • Edit file type information (such as icon and description)
  • Change an extension's associated file type

It also does Autoplay handler editing, and Default Programs editing. And it installs as a Control Panel applet, which makes it discoverable from Windows Search, so you can forget about it until you need it.

Also, it doesn't require administrative privileges for most operations (but it is UAC compatible).

Default Programs Editor Screenshot

(In the interest of full disclosure, I wrote this program!)




ANSWER 2

Score 0


Windows 7 does let you customize the extensions.

  1. Click the start button
  2. Search for the "Change the file type associated with a file extension"
  3. Customize the existing extension using the dialog presented.

Although this dialog doesn't let you add new ones, you can easily create a new one by:

  1. Create a new file on the desktop with the desired extension
  2. Double-click the file
  3. Select a program from a list
  4. Choose the program you want associate it with and make sure to check "Always use the selected program to open this kind of file"



ANSWER 3

Score 0


Vista allows you to change existing associations, and I'd imagine it's similar if not the same in Win7. Control Panel > Default Programs > File Associations.

Edit: Here's an article with some more advance tools that might suit you.

I would choose the first tool featured (Creative Element). It's a freeware and a lightweight program, it does all you want in a simple way (and more, since file associations management is just one of the tools in that pack).




ANSWER 4

Score 0


All file extension association information is stored in the registry. And if you do a little browsing, it's not terribly difficult to figure out how things work. For machine-wide associations, it all happens in the root of HKEY_CLASSES_ROOT. Manual editing of this stuff gives you ultimate power over your file extensions (albeit tedious). Just create a backup in case you screw things up and want to revert.

Each file association has a subkey called .xyz where xyz is the extension of your file. The (Default) value for that key is set to some arbitrary string. Most applications that register file extensions set it to something human readable. For example, .pdf on my system is set to FoxitReader.Document. There many be other values in this key, but nothing is mandatory except the (Default) value.

For whatever that (Default) value is set to, there will be a corresponding subkey with the same name also in the root of HKEY_CLASSES_ROOT. The (Default) value of this key is essentially the "friendly name" of the file type. This key may also have many subkeys, but the only ones we're interested in are DefaultIcon and Shell.

DefaultIcon as you probably guessed controls the icon for that file type. The (Default) value for this key should be set to the path of the icon file. Or if the icon is in a .exe file, set it to the path of the .exe and include a comma and the icon index at the end of the path. For instance, the FoxitReader.Document DefaultIcon is set to

C:\PROGRA~1\FOXITS~1\FOXITR~1\FOXITR~1.EXE,1

Shell is where you set up all of the "actions" for this file type. For each action you want to define, create a subkey called whatever you want to name the action. Most types have at least one action called open. Within this new action's subkey, create a subkey called Command. The (Default) value of this Command key is basically the command line that runs when this action is clicked/run. For example, the open command on a FoxitReader.Document is

"C:\PROGRA~1\FOXITS~1\FOXITR~1\FOXITR~1.EXE" "%1"

The "%1" argument gets set to the path of the file you ran the action from.

If you've only got one action defined for a given file type, I believe it will be the default action that is run if the file is double clicked. If there are multiple possible actions, you can set which one will be the default by modifying the (Default) value of the Shell key. Just set it to the name of the action you want to be the default.

With all of this said, it's not very efficient to do it all from scratch. It's probably easier to use the built-in tools to get most of the way there and then just tweak the things manually that the tools don't let you do. I should also probably mention that all of this info is based on XP, but I'm almost positive none of it has changed for Vista or Win7.