• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Files without an extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Files without an extension


  • Subject: Re: Files without an extension
  • From: email@hidden
  • Date: Tue, 30 Sep 2008 08:46:36 +0200


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@hidden)

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:
This email sent to email@hidden


References: 
 >Files without an extension (From: Chris Idou <email@hidden>)

  • Prev by Date: Re: problems in runModal in NSOpenPanel used with defaults
  • Next by Date: Hotkeys Query
  • Previous by thread: Files without an extension
  • Next by thread: Hotkeys Query
  • Index(es):
    • Date
    • Thread