Multiple Platform Release info

Dave Cragg dcragg at lacscentre.co.uk
Tue Mar 26 09:08:01 EST 2002


At 8:00 am -0500 26/3/02, Shari wrote:
>>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
>
>What about the folder "Program Files"?
>
>There is a folder "Program Files".  The path to the folder "Program 
>Files", what would be the code number for this?

This is the list provided by Tuviah Snyder. You'll have to decipher 
the codes.  I guess "Program Files" is 38, but I'm not sure what 
42-44 are.

CSIDL_DESKTOP =0
  CSIDL_INTERNET =1
     CSIDL_PROGRAMS =2
     CSIDL_CONTROLS =3
     CSIDL_PRINTERS =4
     CSIDL_PERSONAL=5
     CSIDL_FAVORITES =6
     CSIDL_STARTUP =7
     CSIDL_RECENT =8
     CSIDL_SENDTO =9
     CSIDL_BITBUCKET =10
     CSIDL_STARTMENU =11,
     CSIDL_MYDOCUMENTS =12,
     CSIDL_MYMUSIC =13,
     CSIDL_MYVIDEO =14,
     CSIDL_DESKTOPDIRECTORY =16
     CSIDL_DRIVES =17
     CSIDL_NETWORK = 18
     CSIDL_NETHOOD =19
     CSIDL_FONTS = 20
     CSIDL_TEMPLATES = 21
     CSIDL_COMMON_STARTMENU = 22
     CSIDL_COMMON_PROGRAMS = 23
     CSIDL_COMMON_STARTUP = 24
     CSIDL_COMMON_DESKTOPDIRECTORY = 25
     CSIDL_APPDATA = 26
     CSIDL_PRINTHOOD =27
     CSIDL_LOCAL_APPDATA =28
     CSIDL_ALTSTARTUP =29
     CSIDL_COMMON_ALTSTARTUP=30
     CSIDL_COMMON_FAVORITES = 31
     CSIDL_INTERNET_CACHE 32
     CSIDL_COOKIES = 33
     CSIDL_HISTORY = 34
     CSIDL_COMMON_APPDATA = 35
     CSIDL_WINDOWS = 36
     CSIDL_SYSTEM = 37
     CSIDL_PROGRAM_FILES = 38
     CSIDL_MYPICTURES =39
     CSIDL_PROFILE = 40
     CSIDL_SYSTEMX86 = 41
     CSIDL_PROGRAM_FILESX86 42
     CSIDL_PROGRAM_FILES_COMMON 43
     CSIDL_PROGRAM_FILES_COMMONX86 44
     CSIDL_COMMON_TEMPLATES 45
     CSIDL_COMMON_DOCUMENTS 46
     CSIDL_COMMON_ADMINTOOLS=47
     CSIDL_ADMINTOOLS=48
     CSIDL_CONNECTIONS=49
     CSIDL_COMMON_MUSIC=53
     CSIDL_COMMON_PICTURES=54
     CSIDL_COMMON_VIDEO=55

Cheers
Dave Cragg



More information about the metacard mailing list