Storing preferences data on Windows PCs

Sarah Reichelt sarah.reichelt at gmail.com
Mon Mar 6 00:39:09 EST 2006


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