Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How do you remove the default open with application for a file extension? Not change it but remove it so when I try to open it a popup says "There is no application set to open the document “file.blabla”.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Use RCDefaultApp. With it, you can set the file association to <disabled>
Another option is to use the command line and lsregister. lsregister is located in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/ To see all the available commands, run /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister. See this article for more information.

share|improve this answer
I know that, but I want to be able to remove the association, not change it. –  stas Apr 3 '12 at 17:59
@stas Sorry! Updated my answer. –  daviesgeek Apr 3 '12 at 18:01
Thanks but would you happen to know how to do this with the command line? If you don't I'll just use the app. –  stas Apr 3 '12 at 18:03
@stas Updated again :-) –  daviesgeek Apr 3 '12 at 18:12
Fantastic, thanks! I'm just not a big fan of installing tons of apps on my mac, each for doing only a single thing such as the RCDefaultApp. –  stas Apr 3 '12 at 19:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.