Re: Properly capitalizing a path
Re: Properly capitalizing a path
- Subject: Re: Properly capitalizing a path
- From: Ondra Cada <email@hidden>
- Date: Sun, 16 Jun 2002 01:09:44 +0200
On Saturday, June 15, 2002, at 09:28 , Clark Mueller wrote:
If I have a file whose path is ~/Desktop/foo.txt, and I am given a
reference to it with no particular capitalization (i.e. ~/desktop/foo.txt)
, can I resolve that string to the proper capitalization? Indeed, Cocoa
methods which do things with files are mostly not case sensitive, but I
would like to present that path to the user in the way that it is
supposed to be.
Cocoa methods which do things with files of course *ARE* case sensitive;
only some very very badly designed filesystems (like MS DOS, Windoze or
HFS) are not.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.