Re: Carbon : start-up volume name/path as POSIX
Re: Carbon : start-up volume name/path as POSIX
- Subject: Re: Carbon : start-up volume name/path as POSIX
- From: Jim Correia <email@hidden>
- Date: Sat, 31 May 2003 11:57:41 -0400
On Saturday, May 31, 2003, at 11:43 AM, Cristian Savu wrote:
In the end I don't mind if anybody has a Cocoa solution ...
The "cocoa" way is to write:
NSLog(@"%@", [[NSFileManager defaultManager] displayNameAtPath: @"/"]);
(You'll not that this is layered on Launch Services (you can watch it
in the debugger). And Launch Services calls the carbon file manager as
part of its implementation.)
Jim
_______________________________________________
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.