Resetting default program for file type in mac

broken image

Fix Your Mac Mac wont turn on Its any file. System/Library/Frameworks/amework/Versions/A/Frameworks/LaunchServices. EXE files are Windows executable files, and are designed to be run as programs. Hope somebody knows what i m missing to achieve it.Īnswer Found : defaults write LSHandlers -array-add '' But the files are not opened with the specified application. Change the default browser or email client on your Mac. Click the link labelled Associate a file type or protocol with a program, and wait for a couple of seconds to load all file types. It added an entry in /Library/Preferences/. Change the Default by Using Default Programs in Control Panel Open Control Panel (icon view) and select Default Programs.

broken image

I have tried the following to get it done. Set default application of file '/Users/test/Desktop/file.abc' to '/Applications/TextEdit.app'īut I want to set the same application as default for all the files having the filetype or extension as 'abc'. Using the below apple script, we can set the default application for the specific 'file.abc'. In Mac OSX lion, I'm trying to set default application for specific file types.