Code snippet to clear your " open with " list
You may happen to face the problem like this: in your “open with” lists there may have duplicate items or one application you already removed. So, they are trash now.
Then, how can we solve this problem? ok, I find the solution here, what you need to do is just copy the command below:
It can run on Lion & Mountain Lion.