• 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
Determining path to cocoa application in file system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining path to cocoa application in file system


  • Subject: Determining path to cocoa application in file system
  • From: Craig Burton <email@hidden>
  • Date: Sat, 30 Oct 2004 08:41:39 -0700

Hello,

I'm writing a small application that currently needs to know its location in the file system in order to find a co-located input file.

Say, for example, a user downloads my app and executes it off their desktop. How can I determine the location from which the application was launched so that I might know where to find the necessary data file?

Thanks in advance!

Craig

_______________________________________________
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: Determining path to cocoa application in file system
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Distributed objects: can't send simple C struct by value
  • Next by Date: Re: Document-based app - creating independent floating window
  • Previous by thread: Re: Viewing Retain Counts in Debugger
  • Next by thread: Re: Determining path to cocoa application in file system
  • Index(es):
    • Date
    • Thread