TSpecialFolder Type

Specifies enumerated constants used to retrieve directory paths to system special folders.

Namespace: CNClrLib.Control.EnumTypes
type
 TSpecialFolder = CNClrlib.EnumTypes.TSpecialFolder;

Field
Description

sfDesktop

The logical Desktop rather than the physical file system location.

sfPrograms

The directory that contains the user's program groups.

sfMyDocuments

The My Documents folder.

sfFavorites

The directory that serves as a common repository for the user's favorite items.

sfStartup

The directory that corresponds to the user's Startup program group.

sfRecent

The directory that contains the user's most recently used documents.

sfSendTo

The directory that contains the Send To menu items.

sfStartMenu

The directory that contains the Start menu items.

sfMyMusic

The My Music folder.

sfMyVideos

The file system directory that serves as a repository for videos that belong to a user. Added in the .NET Framework 4.

sfDesktopDirectory

The directory used to physically store file objects on the desktop.

sfMyComputer

The My Computer folder.

sfNetworkShortcuts

A file system directory that contains the link objects that may exist in the My Network Places virtual folder.

sfFonts

A virtual folder that contains fonts. Added in the .NET Framework 4.

sfTemplates

The directory that serves as a common repository for document templates.

sfCommonStartMenu

The file system directory that contains the programs and folders that appear on the Start menu for all users. This special folder is valid only for Windows NT systems. Added in the .NET Framework 4.

sfCommonPrograms

A folder for components that are shared across applications. This special folder is valid only for Windows NT, Windows 2000, and Windows XP systems. Added in the .NET Framework 4.

sfCommonStartup

The file system directory that contains the programs that appear in the Startup folder for all users. This special folder is valid only for Windows NT systems. Added in the .NET Framework 4.

sfCommonDesktopDirectory

The file system directory that contains files and folders that appear on the desktop for all users. This special folder is valid only for Windows NT systems. Added in the .NET Framework 4.

sfApplicationData

The directory that serves as a common repository for application-specific data for the current roaming user.

sfPrinterShortcuts

The file system directory that contains the link objects that can exist in the Printers virtual folder. Added in the .NET Framework 4.

sfLocalApplicationData

The directory that serves as a common repository for application-specific data that is used by the current, non-roaming user.

sfInternetCache

The directory that serves as a common repository for temporary Internet files.

sfCookies

The directory that serves as a common repository for Internet cookies.

sfHistory

The directory that serves as a common repository for Internet history items.

sfCommonApplicationData

The directory that serves as a common repository for application-specific data that is used by all users.

sfWindows

The Windows directory or SYSROOT. This corresponds to the %windir% or %SYSTEMROOT% environment variables. Added in the .NET Framework 4.

sfSystem

The System directory.

sfProgramFiles

The program files directory.

On a non-x86 system, passing sfProgramFiles to the GetFolderPath(Environment+SpecialFolder) method returns the path for non-x86 programs. To get the x86 program files directory on a non-x86 system, use the sfProgramFilesX86 member.

sfMyPictures

The My Pictures folder.

sfUserProfile

The user's profile folder. Applications should not create files or folders at this level; they should put their data under the locations referred to by sfApplicationData. Added in the .NET Framework 4.

sfSystemX86

The Windows System folder. Added in the .NET Framework 4.

sfProgramFilesX86

The x86 Program Files folder. Added in the .NET Framework 4.

sfCommonProgramFiles

The directory for components that are shared across applications.

To get the x86 common program files directory on a non-x86 system, use the sfProgramFilesX86 member.

sfCommonProgramFilesX86

The Program Files folder. Added in the .NET Framework 4.

sfCommonTemplates

The file system directory that contains the templates that are available to all users. This special folder is valid only for Windows NT systems. Added in the .NET Framework 4.

sfCommonDocuments

The file system directory that contains documents that are common to all users. This special folder is valid for Windows NT systems, Windows 95, and Windows 98 systems with Shfolder.dll installed. Added in the .NET Framework 4.

sfCommonAdminTools

The file system directory that contains administrative tools for all users of the computer. Added in the .NET Framework 4.

sfAdminTools

The file system directory that is used to store administrative tools for an individual user. The Microsoft Management Console (MMC) will save customized consoles to this directory, and it will roam with the user. Added in the .NET Framework 4.

sfCommonMusic

The file system directory that serves as a repository for music files common to all users. Added in the .NET Framework 4.

sfCommonPictures

The file system directory that serves as a repository for image files common to all users. Added in the .NET Framework 4.

sfCommonVideos

The file system directory that serves as a repository for video files common to all users. Added in the .NET Framework 4.

sfResources

The file system directory that contains resource data. Added in the .NET Framework 4.

sfLocalizedResources

The file system directory that contains localized resource data. Added in the .NET Framework 4.

sfCommonOemLinks

This value is recognized in Windows Vista for backward compatibility, but the special folder itself is no longer used. Added in the .NET Framework 4.

sfCDBurning

The file system directory that acts as a staging area for files waiting to be written to a CD. Added in the .NET Framework 4.