This is often the user's home directory. I'm not sure if this is guaranteed, but you can use chdir () inside Cocoa applications. Depending on your requirements, users can have a better experience if you use file system bookmarks (10.6+) or aliases (previously). Or even absolute paths that are still resistant to changing the working directory.
user23743
source share