get specialFolderpath(26)

Ken Ray kray at
Tue Oct 15 10:01:00 CDT 2002

The support for different versions of Windows OS'es (along with different
versions of IEs) are described along with a complete list of these
specialFolderPath codes at my site:

And this shows, for example, that Windows NT does not support code 26,
although it should after IE 4 or higher has been installed. Take a look and
let me know if you have any other questions...

Ken Ray
Sons of Thunder Software
Email: kray at
Web Site:

----- Original Message -----
From: "sims" <sims at>
To: <use-revolution at>
Sent: Tuesday, October 15, 2002 2:38 AM
Subject: get specialFolderpath(26)

> Can anyone tell me if the function:
>   get specialFolderpath(26) -- user's Application Data folder
> works on all versions of Windows?  I can use it here with my Mac
> running VirtualPC Windows 98 but have no PC to test with otherwise...
> Does it work with 95 - 98 - etc.? Is there a problem using it with NT as
> suggested by Dave Cragg below?
> atb
> sims
> >There is an "all users" Applications Data folder for data that is
> >application-specific, and also a folder for each user that can be
> >used for user-specific data.
> >
> >You can get the path to these folders using the  specialfolderpath
> >function. Tuv Snyder revealed on the list some time back how this
> >function can be extended beyond the default "special folders" by
> >passing an integer that corresponds to the Windows API
> >SHGetFolderPath  value/constant. The values for the "Applications
> >Data" folders are:
> >
> >get specialFolderPath(35) -- common Application Data folder
> >
> >get specialFolderpath(26) -- user's Application Data folder
> >
> >I think the idea is that you should make a folder for your own
> >application in these places.
> >
> >Warning:  This works fine for me on XP. But I just tested the
> >function with these values on NT 4.0 and Metacard crashed. This may
> >be my machine as my NT installation has been acting up recently.
> >Perhaps someone can confirm whether this is working reliably on other
> >Windows versions.
> >
> >Cheers
> >Dave Cragg
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the use-livecode mailing list