Re: root directory partition name
Re: root directory partition name
- Subject: Re: root directory partition name
- From: "Raymund Beyer" <email@hidden>
- Date: Tue, 5 Nov 2002 15:53:32 +0100
>
On mardi, nov 5, 2002, at 02:10 Europe/Paris, Raymund Beyer wrote:
>
> I wonder how to get the partition name of my root directory.
>
> NSOpenPanel
>
> and NSFileManager only return a "/" for the root directory, but not the
>
> partition name.
>
> Is there a way to get it in Cocoa?
Stiphane Sudre wrote:
>
Yes.
>
>
[[NSFileManager defaultManager] displayNameAtPath:@"/"];
Wonderful!
Thanks a lot Stiphane,
Ray
---------------------------------
Raymund Beyer
email@hidden
http://www.brainstorm-music.com
http://www.ezee.de
---------------------------------
_______________________________________________
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.