Re: $HOME not set?
Re: $HOME not set?
- Subject: Re: $HOME not set?
- From: Eric Smith <email@hidden>
- Date: Thu, 30 Mar 2006 20:28:47 -0800
Well, you could use [(NSString*)string stringByExpandingTildeInPath]
where string = @"~". But there may be a better way....
Eric
On Mar 30, 2006, at 8:08 PM, Paul J. Lucas wrote:
Is it ever possible that $HOME not be set for a user? If so,
how?
I remember reading somewhere that there's a Cocoa method
someplace to get the user's home directory, but I can't seem to
find it. Any pointer?
- Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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