Re: how to delete the current user's directory?
Re: how to delete the current user's directory?
- Subject: Re: how to delete the current user's directory?
- From: "Michael Ash" <email@hidden>
- Date: Mon, 1 Sep 2008 18:05:44 -0400
On Mon, Sep 1, 2008 at 1:29 PM, Graff <email@hidden> wrote:
> Note that I avoided hard-coded paths by using
> NSSearchPathForDirectoriesInDomains. This is important because hard-coded
> paths can break in many ways, such as when the user is on a non-english
> system.
Actually this is not true. The directory names remain the same no
matter what language you use. It's still a good idea to use the
function rather than hard coding the names, because the names could
conceivably change in the future, but on current Mac OS X system
you'll find that "Library" is always called "Library" at the UNIX path
level.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden