Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rmlloyd

macrumors newbie
Original poster
Aug 27, 2007
25
0
Hi,

I would like to know how to easily change the file association of a particular file type on the mac. I have many frustrating file type assoctiaions on my machine and I cannot workout how OSX things a .sql file should be opened by Notepad in Parallels or a .bat file cannot be opened and edited like a text file.

Thanks in advance for any help given.

Ryan
 
Hi,

I would like to know how to easily change the file association of a particular file type on the mac. I have many frustrating file type assoctiaions on my machine and I cannot workout how OSX things a .sql file should be opened by Notepad in Parallels or a .bat file cannot be opened and edited like a text file.

Thanks in advance for any help given.

Ryan

Take one of the files and go a "Get Info" on it. In the window use the drop down for "Open with:" and choose the correct application. Then click the "Change All..." button.
 
Take one of the files and go a "Get Info" on it. In the window use the drop down for "Open with:" and choose the correct application. Then click the "Change All..." button.

Thanks merl1n, that worked. I can now open .sql files with the mac text editor. However the icon still stays the same, windows notepad with the parallels bow in the corner. Is there a way to change all the icons en masse?

This is one area where windows seem a bit more logical :-(
 
Thanks merl1n, that worked. I can now open .sql files with the mac text editor. However the icon still stays the same, windows notepad with the parallels bow in the corner. Is there a way to change all the icons en masse?

This is one area where windows seem a bit more logical :-(

This is probably due to the Finder not updating. If you log out and log back in, the Finder will update. After that, if the icons still appear incorrectly, you'll need to delete the invisible ".DS_Store" files. These files contain the information relative to a file such as icons for files, etc.

You can use a utility such as OnyX to delete these files or manually remove them yourself using Terminal. Once you remove these files, logout or reboot. They will be rebuilt.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.