• 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: Application, Home, ... folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application, Home, ... folders


  • Subject: Re: Application, Home, ... folders
  • From: email@hidden
  • Date: Wed, 24 Apr 2002 19:14:53 +0200

On mercredi, avril 24, 2002, at 05:00 , Yves Peneveyre wrote:

Hi all !

I would like to know if it is possible to retrieve the full paths
of the "Applications", "Home", "Pictures", etc, folders in Cocoa.

Is there a way to get these informations ?

For Home, this should be sufficient:

[[NSString stringWithString:@"~"] stringByExpandingTildeInPath]

For Pictures, same stuff:

[[NSString stringWithString:@"~/Pictures"] stringByExpandingTildeInPath]

For Applications, is it the /Applications or ~/Applications folder or /Network/Applications?
_______________________________________________
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.
  • Follow-Ups:
    • Re: Application, Home, ... folders
      • From: Chris Ridd <email@hidden>
    • Re: Application, Home, ... folders
      • From: "Erik M. Buck" <email@hidden>
References: 
 >Application, Home, ... folders (From: "Yves Peneveyre" <email@hidden>)

  • Prev by Date: Re: Re(4): ObjC vs C#
  • Next by Date: Troubles writing NSBitmapImageRep to gif file
  • Previous by thread: Application, Home, ... folders
  • Next by thread: Re: Application, Home, ... folders
  • Index(es):
    • Date
    • Thread