Documents folder

Discuss any general programming issues here

Documents folder

Postby sashapont » Sun Sep 24, 2017 8:38 pm

How I can determine full part to default documents folder?
like "/Users/sashapont/Documents" ?
sashapont
 
Posts: 32
Joined: Thu Aug 03, 2017 2:49 pm

Re: Documents folder

Postby 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.
SamuraiCrow
 
Posts: 101
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: Documents folder

Postby airsoftsoftwair » Mon Sep 25, 2017 7:57 pm

Actually, GetSystemInfo() is your friend.
User avatar
airsoftsoftwair
 
Posts: 2240
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to General programming

Who is online

Users browsing this forum: No registered users and 5 guests

cron