How does that help? I can get a list of all user dirs via:
NSSearchPathForDirectoriesInDomains( NSUserDirectory, NSLocalDomainMask, YES ); But I still don't know which of those returned is the Shared one. Erg ________________________________ From: Chris Parker <c...@apple.com> To: Erg Consultant <erg_consult...@yahoo.com> Cc: Chris Parker <c...@apple.com>; cocoa-dev@lists.apple.com Sent: Friday, May 29, 2009 3:52:45 PM Subject: Re: Getting localized /Users/Shared Dir Name On 29 May 2009, at 3:49 PM, Erg Consultant wrote: > I don't see any methods such as NSSearchPathForDirectoriesInDomains() for > getting the localized name of the /Users/Shared directory. Is there one? Once you have any path, you can get the localized components via -[NSFileManager componentsToDisplayForPath:]. http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html ..chris _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com