File Associations

G

Gnome

I have a problem with file type associations: I've associated a file type to
open with a particular progam - and it does. But for some reason in explorer
the file still has another program icon associated with it as if it would
open with that other program but instead opens with the file i've associated
those particuler file types with. o_O

It's a minor issure but an annoying one. But is it indicative of a more
serious underlying registry issue?
 
R

Rick Rogers

Hi,

No, it's not serious. You can change the icon in the advanced section of
folder options/file types, but basically it just happens when the icon cache
is full.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
G

Gnome

Thanks, that worked :). Had to "restore" the file type 1st though. I hate it
when programs insert themselves as the original default program associated
with particular file - 3rd party program that is.
 
C

cquirke (MVP Windows shell/user)

No, it's not serious. You can change the icon in the advanced section of
folder options/file types, but basically it just happens when the icon cache
is full.

Mmm... actually, the setting for icon may be unaffected by setting for
default action, so when you fix the one, the other may not change.

What follows is for "simple" file associations, i.e. those that don't
involve CLSIDs or "below the line" code handlers, and that ignores and
inheritance effects. There are also other ways things can be done,
aside from the above considerations, but typically...

First, the .ext entry is linked to an aggregate file type, e.g.

.cmd -> cmdfile

If you change things here, then all the properties change because
you're pointing to a different property set. Only things defined
within the .ext entry itself (usually there are few) remain.

Then the aggregate file type (which I call "aggregate" because it can
be pointed to by several .ext entries) defines actions and other
properties, including the icon to display, e.g.

DefaultIcon
Shell

So already, the icon definition has split off as a separate entry.
Within the Shell section, the actions are defined, and the "Default"
action is set as value for Shell itself.

Under Shell is each action's name, then command line and sometimes
additional properties, such as drag and drop. The action that is
called "open" is in some contexts the "default", irrespective of what
is set as the default via Shell's value.


------------ ----- --- -- - - - -
Drugs are usually safe. Inject? (Y/n)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top