Clean up app list in "Open With" menu

The “Open With” menu in Finder on my Mac has been displaying some apps that I’ve long since uninstalled. I’ve tried the standard method of using the lsregister app from the LaunchServices framework, but I couldn’t find that framework on Mojave anymore.

Any suggestions on an alternative approach to rebuild that “Open With” menu?

Thanks for your help!

lsregister is there in my Mojave system. It’s a pretty complicated path. Are you sure you are typing it right?
See this Electric Light Company article for more details.

This is the snippet I had to “fix-open-with”.

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister \
-kill -r -domain local -domain system -domain user

It still exists in Mojave at that path, and should still work, but I will admit that I have not tried it myself.

If you own the utility Cocktail, there is a command for rebuilding the Launch Services via System>Databases.

Thanks to all of you for your helpful suggestions!

I can’t reconstruct where, exactly, I went astray while looking for lsregister, but I’ve found it exactly where your URL suggests it had been all along. :slight_smile:

Also, the command was successful, so macOS is rebuilding those “Open With” lists from scratch now, and as needed.

Thanks again!