Re: Getting Application Path
Re: Getting Application Path
- Subject: Re: Getting Application Path
- From: Douglas Davidson <email@hidden>
- Date: Thu, 29 May 2003 17:09:31 -0700
On Thursday, May 29, 2003, at 4:04 AM, j o a r wrote:
Well, then I guess you might be better off on the Carbon path after
all. Sad but true.
j o a r
On Thursday, May 29, 2003, at 12:25 Europe/Stockholm, Anthony Cheung
wrote:
Thanks. I have tried. Here is what I got, I have two volume in my
MAC. I
display the content of return NSArray by NSLog.
1. "/"
2. "/Volumes/Backup".
1. is the volume where my application sit in. So I still can't get
the name
of application's volume. I debug the application in PB.
The mount path of the volume has no necessary connection to the name of
the volume, so you cannot use that. However, you do not have to go to
Carbon. You can use NSFileManager's componentsToDisplayForPath:, the
first of which should be the name of the volume.
Douglas Davidson
_______________________________________________
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.