• 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: to get handle to "File/1.jpg"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to get handle to "File/1.jpg"


  • Subject: Re: to get handle to "File/1.jpg"
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 26 Nov 2008 10:44:24 -0700
  • Thread-topic: to get handle to "File/1.jpg"

> At the
> filesystem level, that '/' is really a ':' (to avoid clashing with the
> '/' directory seperator character).  Just replace the '/' with a ':'
> and you'll be set.

Actually, it's probably not, because HFS can't store a file with a ":" in
it, but can store a file with a "/" in it. But the UNIX stuff means much of
the OS can't handle a file with a "/" in it, so it gets mapped to ":" for
the OS. But some Mac APIs can't handle the ":" so that gets mapped back to
"/".

Probably doesn't matter for the original question, but sometimes useful to
know what is actually happening when trying to figure out how to refer to a
file using a particular access method...

Now if only the Cocoa team would figure this all out...


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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

  • Follow-Ups:
    • Re: to get handle to "File/1.jpg"
      • From: Stefan Werner <email@hidden>
References: 
 >Re: to get handle to "File/1.jpg" (From: James Montgomerie <email@hidden>)

  • Prev by Date: Re: Killing a Thread
  • Next by Date: Re: to get handle to "File/1.jpg"
  • Previous by thread: Re: to get handle to "File/1.jpg"
  • Next by thread: Re: to get handle to "File/1.jpg"
  • Index(es):
    • Date
    • Thread