Immer wieder stellt sich die Frage, welche Windowsordner über die SHGetFolderLocation / SHGetSpecialFolderLocation Funktionen zurückgegeben werden.
Hier eine Auflistung der Ergebnisse (am Beispiel eines Benutzers „Test“):
CSIDL_DESKTOP | C:\Users\test\Desktop |
CSIDL_PROGRAM_FILES | C:\Program Files (x86) |
CSIDL_PROGRAM_FILESX86 | C:\Program Files (x86) |
CSIDL_PROGRAM_FILES_COMMON | C:\Program Files (x86)\Common Files |
CSIDL_PROGRAM_FILES_COMMONX86 | C:\Program Files (x86)\Common Files |
CSIDL_COMMON_APPDATA | C:\ProgramData |
CSIDL_COMMON_STARTMENU | C:\ProgramData\Microsoft\Windows\Start Menu |
CSIDL_COMMON_PROGRAMS | C:\ProgramData\Microsoft\Windows\Start Menu\Programs |
CSIDL_COMMON_STARTUP | C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup |
CSIDL_COMMON_ALTSTARTUP | C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup |
CSIDL_COMMON_TEMPLATES | C:\ProgramData\Microsoft\Windows\Templates |
CSIDL_COMMON_DESKTOPDIRECTORY | C:\Users\Public\Desktop |
CSIDL_COMMON_DOCUMENTS | C:\Users\Public\Documents |
CSIDL_COMMON_MUSIC | C:\Users\Public\Music |
CSIDL_COMMON_PICTURES | C:\Users\Public\Pictures |
CSIDL_COMMON_VIDEO | C:\Users\Public\Videos |
CSIDL_PROFILE | C:\Users\test |
CSIDL_LOCAL_APPDATA | C:\Users\test\AppData\Local |
CSIDL_CDBURN_AREA | C:\Users\test\AppData\Local\Microsoft\Windows\Burn\Burn |
CSIDL_HISTORY | C:\Users\test\AppData\Local\Microsoft\Windows\History |
CSIDL_INTERNET_CACHE | C:\Users\test\AppData\Local\Microsoft\Windows\Temporary Internet Files |
CSIDL_APPDATA | C:\Users\test\AppData\Roaming |
CSIDL_COOKIES | C:\Users\test\AppData\Roaming\Microsoft\Windows\Cookies |
CSIDL_NETHOOD | C:\Users\test\AppData\Roaming\Microsoft\Windows\Network Shortcuts |
CSIDL_PRINTHOOD | C:\Users\test\AppData\Roaming\Microsoft\Windows\Printer Shortcuts |
CSIDL_RECENT | C:\Users\test\AppData\Roaming\Microsoft\Windows\Recent |
CSIDL_SENDTO | C:\Users\test\AppData\Roaming\Microsoft\Windows\SendTo |
CSIDL_STARTMENU | C:\Users\test\AppData\Roaming\Microsoft\Windows\Start Menu |
CSIDL_PROGRAMS | C:\Users\test\AppData\Roaming\Microsoft\Windows\Start Menu\Programs |
CSIDL_ADMINTOOLS | C:\Users\test\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools |
CSIDL_STARTUP | C:\Users\test\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup |
CSIDL_ALTSTARTUP | C:\Users\test\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup |
CSIDL_TEMPLATES | C:\Users\test\AppData\Roaming\Microsoft\Windows\Templates |
CSIDL_DESKTOPDIRECTORY | C:\Users\test\Desktop |
CSIDL_PERSONAL | C:\Users\test\Documents |
CSIDL_MYDOCUMENTS | C:\Users\test\Documents |
CSIDL_FAVORITES | C:\Users\test\Favorites |
CSIDL_COMMON_FAVORITES | C:\Users\test\Favorites |
CSIDL_MYMUSIC | C:\Users\test\Music |
CSIDL_MYPICTURES | C:\Users\test\Pictures |
CSIDL_MYVIDEO | C:\Users\test\Videos |
CSIDL_WINDOWS | C:\Windows |
CSIDL_FONTS | C:\Windows\Fonts |
CSIDL_RESOURCES | C:\Windows\Resources |
CSIDL_SYSTEM | C:\Windows\System32 |
CSIDL_SYSTEMX86 | C:\Windows\SysWOW64 |