 |
| How to get Special Folders paths |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
Versions: click to open |
 |
|
 |
 |
| Before you begin: |
 |
This code shows how to obtain path to special folders like My Documents, My Pictures, Start Menu, Startup, Favourites, Recent files and others.
See also:
Browsing Windows Known Folders (Special Folders)
|
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 2298 bytes Created: 2003-07-16 17:27:29 Modified: 2011-01-20 08:33:38 Visits in 7 days: 64 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
For Windows versions 98, NT4 the SHGetFolderPath is obtained through SHFolder.dll, not through Shell32.dll.
SHFolder.dll continues to be included for backward compatibility, though the function is now implemented in Shell32.dll.
CSIDL values provide a unique system-independent way to identify special folders used frequently by applications, but which may not have the same name or location on any given system. For example, the system folder may be "C:\Windows" on one system and "C:\Winnt" on another.
As of Windows Vista, these values have been replaced by KNOWNFOLDERID values.
CSIDL list.
|
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|