Search This Blog

Mac OS X: check file association information

The user's file association settings is stored in ~/Library/Preferences/com.apple.LaunchServices.plist. However, it is not a text file. You need to run the following commands to see the information:
defaults read com.apple.LaunchServices | grep -v LSBundleLocator
or
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/Current/Support/lsregister -dump

See also:

No comments:

Post a Comment