• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: root directory partition name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: root directory partition name (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Change Unix Permissions
  • Next by Date: Document Saving
  • Previous by thread: Re: root directory partition name
  • Next by thread: Project Builder's tasty documentation searching
  • Index(es):
    • Date
    • Thread