• 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 paths with slashes in them
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Files paths with slashes in them


  • Subject: Re: Files paths with slashes in them
  • From: Cameron Hayne <email@hidden>
  • Date: Tue, 23 Aug 2005 13:14:13 -0400


On 23-Aug-05, at 12:57 PM, Mark Williams wrote:

I have a program that deals with files and in some cases those files might have a slash (/) in them. I realize that this is the nix separator for a path. Now when you choose the file using an open panel it automatically replaces the slash with a : and thus the file becomes invalid. How do I fix this?

You are going to have to explain your situation in more detail if we are to have any hope of helping.
I.e. given that filenames with slashes in them are illegal in Unix, how do you expect this to work?
Or, to put it another way, why do the filenames have slashes in them?


You might find it useful to read the discussion of slashes versus colons in filenames in this Usenix article:
http://www.usenix.org/publications/library/proceedings/usenix2000/ invitedtalks/sanchez_html/


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Files paths with slashes in them
      • From: Mark Williams <email@hidden>
References: 
 >Files paths with slashes in them (From: Mark Williams <email@hidden>)

  • Prev by Date: NSOpenPanel (and Finder and Nav Serv) previews, adding support for my own file types?
  • Next by Date: Re: Core Data and undo action names
  • Previous by thread: Files paths with slashes in them
  • Next by thread: Re: Files paths with slashes in them
  • Index(es):
    • Date
    • Thread