LC application running on lab computers

Klaus major-k klaus at
Wed Mar 27 17:16:15 EDT 2019

Hi Peter and all,

> Am 27.03.2019 um 22:04 schrieb Klaus major-k via use-livecode <use-livecode at>:
> Hi Peter,
>> Am 27.03.2019 um 21:59 schrieb Peter Bogdanoff via use-livecode <use-livecode at>:
>> 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:



Klaus Major
klaus at

More information about the use-livecode mailing list