Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Answer [List all apps registered with LaunchServices]' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Answer [List all apps registered with LaunchServices]
Authored by: cougar718 on Oct 11, '04 02:53:13PM
Hello ladiez and gentz,
How do you clean out all the applications registered on unmounted DMG volumes which show at the end of the list?
Well you can't clean the applications out 1 by 1 but you can throw out the database and have it rebuilt on start up. As you may or may not know, I work with AppleScript alot and when you implement a line of code that contains 'choose application', AppleScript references the list of applications that LaunchServices has kept track of (To see this for yourself, simply open Script Editor and type 'choose application' and run the script)

Many, many times, I may have multiple applications and applications that are no longer installed in this list of Applications. So I do the following to remove them and start off fresh.

Note: Keep in mind doing the following will cause the dialog that is invoked when you a launch a file for the very first time (Included with Apple's fix to stop malicious code being disguised as normal files, JPEG, etc.)

1. Navigate to Hardrive/Library/Caches/

2. Delete the file named '' Enter your password when prompted.

Note: For Jaguar users, there may or may not be 2 files that contain the words "LaunchServices" Those files should be deleted if they exist.

3. Restart.

On restart, the files will be recreated and the database will be rebuilt removing old and unused applications.

Good luck and cheers!

Rick alias cougar

[ Reply to This | # ]