How to create file type association for current user in windows?

  associations, file, registry, types, windows

I have a need to save a file type association for a specific user without administrator rights.

For example, I want a file with the extension .abcdcddbba to be opened by the program Alphabet collector. I have standart user’s rights and must create this association. How can I do this?

I tried this:

[HKEY_CURRENT_USERSoftwareClassesABet142.abcdcddbba]
@="Description"

[HKEY_CURRENT_USERSoftwareClassesABet142.abcdcddbbaDefaultIcon]
@="C:UsersuserAppDataLocalAlphabet collectorsome.ico"

[HKEY_CURRENT_USERSoftwareClasses.abcdcddbba]
@="ABet142.abcdcddbba"

[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.abcdcddbbaOpenWithProgids]
"ABet142.abcdcddbba"=hex(0):

But it doesn’t work.

What registry keys/values do I need to create to get the result I want?

Source: Windows Questions

LEAVE A COMMENT