Re: POSIX Path to HFS?
Re: POSIX Path to HFS?
- Subject: Re: POSIX Path to HFS?
- From: Nathan Day <email@hidden>
- Date: Thu, 4 Apr 2002 22:39:26 +0930
part of URL services there is the function
CFStringRef CFURLCopyFileSystemPath (
CFURLRef anURL,
CFURLPathStyle pathStyle
);
enum CFURLPathStyle {
kCFURLPOSIXPathStyle = ,
kCFURLHFSPathStyle = 1,
kCFURLWindowsPathStyle = 2
};
On Thursday, April 4, 2002, at 11:50 AM, Rich Long wrote:
I'm probably missing something simple, but I have a file path (from
NSOpenPanel) that contains an option-f character. I'd like to convert
this to HFS format (for example: Macintosh HD:foo:bar.txt), but I can't
seem to find a routine that would let me do it. Everything I've tried
encodes the character as a unicode sequence. Thanks for any suggestions,
Rich
p.s. the goal is to use the file path in an AppleScript context.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.