Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
file associations [solved]
#5
2scud
Files extensions might be stored in many places.

Some of them are inside node HKCR, some - HKCU\Software\Mircosoft\Windows\Explorer\FileExts and other inside HKLM\Software\Classes.

Few extensions have valid actions assinged, other contains only the reference to other classes or file types (avi refers to KMPlayer.avi) like below:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.avi]
@="KMPlayer.avi"
"PerceivedType"="video"
"Content Type"="video/avi"
"MP2.Last"="Custom"
"MPlayer2.BAK"="KMPlayer.avi"
"KMPBackup.bak"="avifile"

[HKEY_CLASSES_ROOT\.avi\OpenWithList]

[HKEY_CLASSES_ROOT\.avi\OpenWithList\wmplayer.exe]

[HKEY_CLASSES_ROOT\.avi\OpenWithProgIds]
"avifile"=hex(0):

[HKEY_CLASSES_ROOT\.avi\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.avi\ShellEx]

[HKEY_CLASSES_ROOT\.avi\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{c5a40261-cd64-4ccf-84cb-c394da41d590}"

[HKEY_CLASSES_ROOT\.avi\ShellEx\{FFB699E0-306A-11d3-8BD1-00104B6F7516}]
@="{FFB699E0-306A-11d3-8BD1-00104B6F7516}"

In the case of reference from above, you should look for KMPlayer.avi node.

Whole structure depends on your system's configuration: how many accounts do you have, how do you handle them, etc.. All I can say is "it's freaking magic" and you shouldn't bother yourself with it.

---
BTW I think this article might help you:
http://www.la-solutions.co.uk/content/Fi...ations.htm

I am no 100% sure about it (not tested) but... using proper command line tools (ASSOC and FTYPE) you can list all of your associations and save it to text file. When it will be needed you can create simple BAT to "give it back".[/align]
[Image: dc85x15_philkc_fade22lr.png]
Reply


Messages In This Thread
file associations [solved] - by scud - 11-26-2008, 10:37 PM
RE: file associations - by m^2 - 11-26-2008, 10:56 PM
RE: file associations - by fenixproductions - 11-27-2008, 03:41 PM
RE: file associations - by scud - 11-27-2008, 05:04 PM
RE: file associations - by fenixproductions - 11-27-2008, 08:09 PM
RE: file associations - by scud - 11-29-2008, 01:20 AM
RE: file associations (solved) - by scud - 11-30-2008, 03:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)