Special Folder Paths (was Re: Multiple Platform Release info)
Ken Ray
kray at sonsothunder.com
Tue Mar 26 22:34:01 EST 2002
> >on mouseup
> > repeat with i = 1 to 100 ## should be enough
> > put specialfolderpath(i) & cr after fld "your special folders"
> > end repeat
> >end mouseup
Be careful! Some of those numbers will crash MC/Rev (at least under Windows
2000). Here's the results I did in my "1-60" testing:
12-15, 29-30, 42, 44, 48, and 50-60 all caused a crash.
1, 3-4, 10, 17-18 and 49 all returned empty.
The rest are as follows (I hope the line breaks don't kill everything):
No. Microsoft Constant Name ==> Example Returned Value
----------------------------------------------------------------------------
---
0 CSIDL_DESKTOP ==> C:/Documents and Settings/Ken/Desktop
2 CSIDL_PROGRAMS ==> C:/Documents and Settings/Ken/Start Menu/Programs
5 CSIDL_PERSONAL ==> C:/Documents and Settings/Ken/My Documents
6 CSIDL_FAVORITES ==> C:/Documents and Settings/Ken/Favorites
7 CSIDL_STARTUP ==> C:/Documents and Settings/Ken/Start
Menu/Programs/Startup
8 CSIDL_RECENT ==> C:/Documents and Settings/Ken/Recent
9 CSIDL_SENDTO ==> C:/Documents and Settings/Ken/SendTo
11 CSIDL_STARTMENU ==> C:/Documents and Settings/Ken/Start Menu
16 CSIDL_DESKTOPDIRECTORY ==> C:/Documents and Settings/Ken/Desktop
19 CSIDL_NETHOOD ==> C:/Documents and Settings/Ken/NetHood
20 CSIDL_FONTS ==> C:/WINNT/Fonts
21 CSIDL_TEMPLATES ==> C:/Documents and Settings/Ken/Templates
22 CSIDL_COMMON_STARTMENU ==> C:/Documents and Settings/All Users/Start
Menu
23 CSIDL_COMMON_PROGRAMS ==> C:/Documents and Settings/All Users/Start
Menu/Programs
24 CSIDL_COMMON_STARTUP ==> C:/Documents and Settings/All Users/Start
Menu/Programs/Startup
25 CSIDL_COMMON_DESKTOPDIRECTORY ==> C:/Documents and Settings/All
Users/Desktop
26 CSIDL_APPDATA ==> C:/Documents and Settings/Ken/Application Data
27 CSIDL_PRINTHOOD ==> C:/Documents and Settings/Ken/PrintHood
28 CSIDL_LOCAL_APPDATA ==> C:/Documents and Settings/Ken/Local
Settings/Application Data
31 CSIDL_COMMON_FAVORITES ==> C:/Documents and Settings/All
Users/Favorites
32 CSIDL_INTERNET* ==> C:/Documents and Settings/Ken/Local
Settings/Temporary Internet Files
33 CSIDL_COOKIES ==> C:/Documents and Settings/Ken/Cookies
34 CSIDL_HISTORY* ==> C:/Documents and Settings/Ken/Local Settings/History
35 CSIDL_COMMON_APPDATA ==> C:/Documents and Settings/All
Users/Application Data
36 CSIDL_WINDOWS ==> C:/WINNT
37 CSIDL_SYSTEM ==> C:/WINNT/system32
38 CSIDL_PROGRAM_FILES ==> C:/Program Files
39 CSIDL_MYPICTURES ==> C:/Documents and Settings/Ken/My Documents/My
Pictures
40 CSIDL_PROFILE ==> C:/Documents and Settings/Ken
41 (CSIDL_SYSTEM) ==> C:/WINNT/system32
43 CSIDL_PROGRAM_FILES_COMMON ==> C:/Program Files/Common Files
45 CSIDL_COMMON_TEMPLATES ==> C:/Documents and Settings/All
Users/Templates
46 CSIDL_COMMON_DOCUMENTS ==> C:/Documents and Settings/All
Users/Documents
47 CSIDL_COMMON_ADMINTOOLS ==> C:/Documents and Settings/All Users/Start
Menu/Programs/Administrative Tools
Enjoy!
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web site: http://www.sonsothunder.com/
More information about the metacard
mailing list