Documents folder

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

Documents folder

Post by sashapont » Sun Sep 24, 2017 8:38 pm

How I can determine full part to default documents folder?
like "/Users/sashapont/Documents" ?

Posts: 206
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: Documents folder

Post by SamuraiCrow » Sun Sep 24, 2017 11:09 pm

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.

User avatar
Posts: 2915
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany

Re: Documents folder

Post by airsoftsoftwair » Mon Sep 25, 2017 7:57 pm

Actually, GetSystemInfo() is your friend.

Post Reply