View Single Post
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2004-11-02, 04:28

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".

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote