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! Not sure this is still working on Win 10, but worth a try. :-) Check this in the IDE with the messagebox: put specialFolderPath(35) > Peter Bogdanoff > ArtsInteractive 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