• 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: Find the 'Application Support' folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find the 'Application Support' folder


  • Subject: Re: Find the 'Application Support' folder
  • From: Sherm Pendley <email@hidden>
  • Date: Sat, 9 Oct 2004 11:34:08 -0400

On Oct 9, 2004, at 10:38 AM, Peter Karlsson wrote:

I want to find the 'Application Support' folder from my app. What is the
best way to do this? Any example code?

For global supporting files that are used by all users, it's:

/Library/Application Support/My Application Name/

For per-user supporting files, it's under the user's home directory, which you can get with the NSHomeDirectory() function:

$HOME/Library/Application Support/My Application Name/

Obviously you'll want to supply your own application name in the above.

sherm--

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Find the 'Application Support' folder
      • From: David Reed <email@hidden>
References: 
 >Find the 'Application Support' folder (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: Find the 'Application Support' folder
  • Next by Date: Re: Find the 'Application Support' folder
  • Previous by thread: Find the 'Application Support' folder
  • Next by thread: Re: Find the 'Application Support' folder
  • Index(es):
    • Date
    • Thread