On 30 Sep 2008, at 08:07, Chris Idou wrote:

Does anyone know how OS-X and/or the Finder treats files without an extension?

If I have a plain text file without an extension, then changing the program that opens txt files will make it change for plain text files without an extension.

But if I have an RTF file without an extension, it doesn't open with the default TXT application, nor with the default RTF application, but instead always seems to open in TextEdit.

I suspect (but have no proof) that in the no extension/file type/ creator combination, LaunchServices falls back to the unix 'file' command to work out the type of file based on its contents and decides what app to launch.

Matt
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to