Storing preferences data on Windows PCs

Terry Judd tsj at unimelb.edu.au
Mon Mar 6 05:17:24 EST 2006


Thanks Sarah.

Terry...

> From: "Sarah Reichelt" <sarah.reichelt at gmail.com>
> Date: 6 March 2006 4:39:09 PM GMT+11:00
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Subject: Re: Storing preferences data on Windows PCs
> Reply-To: How to use Revolution <use-revolution at lists.runrev.com>
>
>
> On 3/6/06, Terry Judd <tsj at unimelb.edu.au> wrote:
>> I've got the Mac side of things covered but where do people usually
>> store user preferences on Window's PCs?
>>
>> Is (from the Microsoft Library)...
>>
>> CSIDL_APPDATA(0x001a)
>> Version 4.71. The file system directory that serves as a common
>> repository for application-specific data. A typical path is
>> C:\Documents and Settings\username\Application Data.
>>
>
> You can get it using: specialFolderPath(26)
>
> This gives you the Application Data folder for the current user (I
> think). Don't use specialFolderPath("Preferences") because on Windows,
> this just gives you the root directory.
>
> Cheers,
> Sarah



More information about the Use-livecode mailing list