Creating file associations
I know it has to do with writing to the registry. For example, the value of (Default) in HKEY_CLASSES_ROOT\.blend is "blendfile" but I don't know how to modify this.
Would I use WriteRegStr HKCR ".blend" "" "whatever" to modify the default value?