Hi Peter and all,

> Am 27.03.2019 um 22:04 schrieb Klaus major-k via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hi Peter,
> 
>> Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode 
>> <use-livecode@lists.runrev.com>:
>> 
>> Hi,
>> 
>> My application is being installed on Windows machines in a school lab. The 
>> admin is having trouble because I’m writing preference files to the 
>> Users\<user>\ folder and when another user logs in, the file is not 
>> available. This may be a problem in the future for Macs as well. These same 
>> preference files should be accessed by all users.
>> 
>> The specialFolderPath functions don’t seem to have one for a root level 
>> Library/Preferences folder. Is there otherwise a best, or even workable 
>> practice for this scenario?
> you could use these 2 undocumented specialfolderpath() codes for Windows:
> -> specialFolderPath(35) -> prefs folder for ALL users
> -> specialfolderpath(26) -> dito for the current user only!

please check Ken Ray's wonderful page with more helpful specialfolderpath() 
codes:
<http://www.sonsothunder.com/devres/livecode/tips/file010.htm>


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to