topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 8:24 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Per-user file associations  (Read 3230 times)

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Per-user file associations
« on: June 06, 2008, 04:35 AM »
Finally I found a solution to set per-user file association! I've been looking for this for quite some time, but never found a software that would let me do this. :D

Then I came across the registry entry HKEY_CURRENT_USER\Software\Classes\ which is where file associations are stored for current user (obviously). Maybe it's been mentioned here before, but this really has been bugging me so I thought I'd just post here in case anyone else was looking for it.

Now it's as simple as copying the key from HKEY_CLASSES_ROOT\ to HKEY_CURRENT_USER\Software\Classes\ and changing the default open command in the latter. That way there's a default system association, i.e. .doc -> MS Word, that's overridden by the current user's setting, i.e. .doc -> TextMaker/OpenOffice/whathaveyou

Now if only there was a piece of software that would let me do this without bothering with the registry, I'd be happy. Any takers? It would make for a nice coding snack, I suppose. ;)