Documents folder

Discuss any general programming issues here
Post Reply
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Documents folder

Post by sashapont »

How I can determine full part to default documents folder?
like "/Users/sashapont/Documents" ?
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: Documents folder

Post by SamuraiCrow »

Since AmigaOS doesn't have a document directory, you'll have to use a preprocessor based switch statement to pick a default for each operating system individually. Perhaps using a preference set-up for it would be easier.
I'm on registered MorphOS using FlowStudio.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Documents folder

Post by airsoftsoftwair »

Actually, GetSystemInfo() is your friend.
Post Reply