using the registry editing commands in buddyAPI you can write
to the registry:
or thereabouts... do some googling about the best place to
edit the registry... I would imagine you would have to associate
that file extension with your program in order to be able to
properly execute a context menu command on it.