Re: Getting The Application Directory
Re: Getting The Application Directory
- Subject: Re: Getting The Application Directory
- From: David Remahl <email@hidden>
- Date: Sun, 17 Feb 2002 04:37:34 +0100
>
Does any one know of a method I can use to get the current director the
>
application is running from? I've looked though the FileManager class
>
and tried to use the working directory (thinking it is initaly set at
>
the application directory), this works when I run it from project
>
builder, but does not when I run it by it's self.
>
>
Thanks for any help!
>
>
- Joshua D. Orr -
[[NSBundle mainBundle] bundlePath] gives you your path as a string. I.e the
path to the .app package.
/ david
_______________________________________________
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.