Re: finding the path to the desktop...
Re: finding the path to the desktop...
- Subject: Re: finding the path to the desktop...
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 20 Apr 2003 15:00:41 -0700
On Sunday, April 20, 2003, at 02:25 PM, Matthew Weinstein wrote:
I'm trying to write to the desk top and am having problems... Is there
a way making no presumptions regarding the layout of the file system
to find an absolute path to the user's desktop?
Yes, use Carbon's FSFindFolder() to return an FSRef pointing to the
desktop, then get the path from that FSRef. The keys you probably want
are "kUserDomain" and "kDesktopFolderType".
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Building the future and keeping the past alive are one and the same
thing." - Metal Gear Solid 2
_______________________________________________
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.