Re: How can I standardize a path name? (Cocoa solution wanted)
Re: How can I standardize a path name? (Cocoa solution wanted)
- Subject: Re: How can I standardize a path name? (Cocoa solution wanted)
- From: Brent Gulanowski <email@hidden>
- Date: Sun, 27 Jan 2002 01:37:52 -0500
On Friday, January 25, 2002, at 01:55 PM, Ondra Cada wrote:
Doug,
Doug Simons (DS) wrote at Fri, 25 Jan 2002 10:28:03 -0700:
DS> Thanks for the suggestion, but I'd really like a Cocoa solution if
DS> possible. It seems like there must be SOME way in Cocoa to get the
DS> actual, case-specific name of a file, including its extension,
given the
DS> (possibly not case-specific, but sufficient to access the file)
pathname.
So far as the API goes, stringByStandardizingPath is the way to go.
Since OpenStep was never designed to cope with weird things like
case-insensitive filesystem though there might be problems caused by
that
(and definitely by aliases!), quite unsolvable at Cocoa level, alas.
---
Just a suggestion, but isn't that the sort of oversight that the Apple
folks are always saying to submit as a bug?
bg