Re: How do I create a file name with a "/" in it?
Re: How do I create a file name with a "/" in it?
- Subject: Re: How do I create a file name with a "/" in it?
- From: Chris Ridd <email@hidden>
- Date: Wed, 21 Sep 2005 18:31:24 +0100
- Thread-topic: How do I create a file name with a "/" in it?
On 21/9/05 6:29, Michael <email@hidden> wrote:
> Hello,
>
> how do I programatically create a NSString holding a path with a file
> name that contains a "/" character?
>
> /Users/monk/Desktop/My file with / in it.txt
>
> where "My file with / in it.txt" is the name of the file.
You can't, because "/" separates path components in OS X.
If you replace that "/" with a ":" you'll find that the Finder displays the
file with a "/" in its name :-)
Cheers,
Chris
_______________________________________________
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