Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to force Lion to show both Excel and TextEdit as applications in "Open with..." dialog. I currently have Excel set as the default for .dat files but occasionally I just need to glance at the header of the file which is much quicker with textedit. It is a Space separated text file. On that same vein, is it possible to have the finder recognize the file as text so I can preview it? Even if I set the default app to TextEdit it won't preview. I did find On OS X, how do you change a file's "Kind"? but it doesn't quite address my request. Thanks for your help.

share|improve this question
    
As for Quick Look, see: Make OS X's Quick Look work for custom file extensions –  slhck Apr 15 '12 at 8:07
    
Checked out @slhck link and did it slightly differently. Edited info.plist in /System/Library/QuickLook/Text.qlgenerator to include public.dat, public.cr1, public.csi and now preview works. I did have to give myself permission to edit the file (Get Info...Sharing & Permissions...Everyone- R&W) –  Dominik May 14 '12 at 20:26

1 Answer 1

Checked out the link from @slhck and did it slightly differently. Edited info.plist in /System/Library/QuickLook/Text.qlgenerator (right click...Show Contents) to include public.dat, public.cr1, public.csi and now preview works. I did have to give myself permission to edit the file (Get Info...Sharing & Permissions...Everyone- R&W) and I have XCode installed so I used property list editor to add the additional UTIs to Text.qlgenerator.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.