You can associate file extensions with applications, like Word does with .doc. Is that what you mean?
If so, open the Registry Editor and look at how HKEY_CLASSES_ROOT does it.