Re: reset file associations



Entity stewacide@xxxxxxxxxxx spoke thus:

> So nobody knows how OSX stores file association preferences?
For what it's worth, I also have no end of problems with MS Office behaving
nicely.

Apple has Launch Services, there is a preferences file at:
~/Library/Preferences/com.apple.LaunchServices.plist

If you delete this file and relogin it should set all files to default, but
this doesn't mean it will solve your problem.


You can dump file associations in Terminal (note that the following is all
one line):
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchSe
rvices.framework/Support/lsregister -dump

You can view the manpage for the lsregister command:
http://osxfaq.com/tips/unix-tricks/week100/wednesday.ws

There is a Terminal command to scan your disk and reset all launch apps but
I forget the command.

There are utilities for this sort of thing, Applejack may be one.

Be sure to repair Permissions before doing anything else.

-- Gnarlie's Applescript page:
http://Gnarlodious.com/Apple/AppleScript/

.



Relevant Pages

  • Re: Ways To Temporarily Assign an MDW file
    ... the rest of the command line would be passed to ... file association to start Access, not the MDB one. ... I had copied the shortcut on the desktop (as ...
    (microsoft.public.access.security)
  • Re: File associations in the command line seems broken
    ... I can launch .exe and .bat fine. ... If I try to open a text file, it fails: ... on this file association to launch each other from the command line and they ...
    (microsoft.public.windowsxp.general)
  • Re: scheduled tasks
    ... The reason I wanted to avoid wscript is that this script ... will be used by clueless users and the less confusing, ... File association does not work ... It runs fine from the shortcut or "Run" with the command ...
    (microsoft.public.scripting.vbscript)
  • Re: Opening word document from desktop icon Problem
    ... The command I previously provided is different than using the "Open ... Word means there is a problem with the file association. ... Microsoft Office MVP ... MVP FAQ site: http://mvps.org/ ...
    (microsoft.public.word.newusers)
  • Re: VB Shortcut Maker
    ... Just change the file association for type internet shortcut (if you exe uses ... In VB in the startup object just check the value of Command$ ... I want to make an application which is similar to an internet shortcut. ... This application will open the desired URL in the machine's default ...
    (microsoft.public.windows.inetexplorer.ie6.browser)