The command "FindExecutable" will GET a File Association.
Is there a command, or way, to SET a File Association
without directly modifying the Registry?
I prefer to use a proven command, when available.
I don't think so.
The windows gods say..
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/fileassociations/fileassoc.asp
Thanks guys & gods. I'll break out the Registry Guide.
Mr. Earl,
Once you have read the guide, if you need help in sending the correct instructions to write to the registry in assembly, just ask in the Campus and someone will help you.
Paul
That's odd, I must be confused. The guide and registry seem somehow correct and incorrect at the same time. Looking through some of my HKCR keys, very few have any subkeys and the "default application" appears to be simply a default REGsz value. I seem to recall there needing to be a subkey and different keys for "run", "open", etc. But I must be thinking of some other part of the registry.