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: Ondra Cada <email@hidden>
- Date: Fri, 25 Jan 2002 19:55:18 +0100
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.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc