In general HKEY_CLASSES_ROOT stores information about registered applications such as file associations.

Win32::TieRegistry lets you fiddle with the registry so in theory no problem. However with the Windows registry it’s always tricky.

I think it depends on the Windows version you run and also on the particular user logged in. Software can be installed for all users or specific user(s), different users can install the same software (or different versions of it) in different locations, etc. The registry follows a strategy for looking up and writing information. You better read Windows_Registry first (fairly good description).

Make sure you BACKUP the registry! It is too easy to screw it up! Also it doesn’t harm to have a regedit/regcleaner nearby;-)


In reply to Re: Getting File Types data by dHarry
in thread Getting File Types data by merrymonk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.