I am looking for a way to programmatically configure file association information on a Windows system. For example, the "Application user to perform this action" option for the "Open" action for a specific file type.
It is clear that I could do this by changing the registry directly, but if there is an API, I would prefer to use it, since it will most likely be more resistant to changes in OS processing for display extensions for applications.
For my purposes, I need to write this in a VBScript (.VBS) file because it is part of the package that will be used with VMWare ThinApp, which defines it. However, I will port / wrap / all I need to do this week, so I'm open to any solution (including using the .NET framework)
source
share