in reply to Re: Getting File Types data
in thread Getting File Types data

I have looked in the HKEY_CLASSES_ROOT registry.
This seems to have two sections. One for extensions and one for applicatons.
I guessed the extension section would give the path. However I could not see it.
Is this hidden in some way?
The problem with the application section is that I could not see the name of the application I was looking for.

Replies are listed 'Best First'.
Re^3: Getting File Types data
by dHarry (Abbot) on Aug 20, 2008 at 12:30 UTC

    The extensions are there but if you want the path where the application is installed you have to look elsewhere.

    An example

    On my system: HK_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\InstallPath

    Value: "C:\Program Files\Adobe\Acrobat 7.0\Reader"

    If this lookup fails look at HKEY_LOCAL_MACHINE\software\companyname\product. I think this is in general the lookup strategy, i.e. first check HKCU if that fails check HKLM. Like I said it depends on the user logged on. I also recall (on the top of my head) that the registry differs (slightly) between different Windows flavours.

    See also Windows registry information for advanced users.

    HTH