Rebuilding the Launch Services:
If the "Open With" menu in the Finder shows applications that are no longer installed or shows duplicate entries, you can use the following Terminal command to rebuild your LaunchServices database. Note that this command should be entered all at once.
/System/Library/Frameworks/ApplicationServices.framework/\
Frameworks/LaunchServices.framework/Support/lsregister \
-kill -r -domain local -domain system -domain user
Note: for systems running 10.6 or higher, instead of the above command you should run:
/System/Library/Frameworks/CoreServices.framework/\
Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister \
-kill -r -domain local -domain system -domain user
After this execution completes, you should reboot or at least log out and log back in to force the Finder and other applications to refresh. Simply quitting and relaunching them may not have the desired effect.
On older systems before Mac OS X 10.3, instead locate and delete any files in ~/Library/Preferences whose names begin with "LS".
|