Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[ The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]
Returns an instance of a System.Shell.Folder based on a "well-known folder" name as defined within the user profile (for example, Documents or ProgramFiles).
Syntax
objRetVal = System.Shell.knownFolder(
strKnownFolderPath
)
Parameters
-
strKnownFolderPath [in]
-
The well-known name of a folder as a string.
Return value
An instance of a System.Shell.Folder object that can be used with System.Shell.Item object methods.
Remarks
The following are valid well-known folder names:
- Desktop
- Startup
- StartMenu
- Documents
- Programs
- CommonStartup
- CommonPrograms
- PublicDesktop
- PublicFavorites
- PublicDocuments
- System
- SystemX86
- Profile
- Windows
- Pictures
- Music
- Videos
- ProgramFiles
- ProgramFilesCommon
- ProgramFilesX86
- ProgramFilesCommonX86
- AdminTools
- CommonAdminTools
- PublicMusic
- PublicPictures
- PublicVideos
- UserProfiles
- Downloads
- PublicDownloads
- GadgetsUser
- RecycleBinFolder
Note
Well-known names can vary between operating systems.
Requirements
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |
| End of client support |
Windows 7 |
| End of server support |
Windows Server 2008 |
| IDL |
|
| DLL |
|