Specifies enumerated constants used to retrieve directory paths to system special folders.
[Visual Basic] <Serializable> Public Enum Environment.SpecialFolder [C#] [Serializable] public enum Environment.SpecialFolder [C++] [Serializable] __value public enum Environment.SpecialFolder [JScript] public Serializable enum Environment.SpecialFolder
The system special folders are folders such as Program Files, Programs, System, or Startup, which contain common information. Special folders are set by default by the system, or explicitly by the user, when installing a version of Windows.
The GetFolderPath method uses these enumerated constants to designate the special folder path to retrieve.
For more information about special folders, see the CSIDL Values topic at http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/reference/enums/csidl.asp.
|ApplicationData||The directory that serves as a common repository for application-specific data for the current roaming user.
A roaming user works on more than one computer on a network. A roaming user's profile is kept on a server on the network and is loaded onto a system when the user logs on.
|CommonApplicationData||The directory that serves as a common repository for application-specific data that is used by all users.|
|CommonProgramFiles||The directory for components that are shared across applications.|
|Cookies||The directory that serves as a common repository for Internet cookies.|
|Desktop||The logical Desktop rather than the physical file system location.|
|DesktopDirectory||The directory used to physically store file objects on the desktop.
Do not confuse this directory with the desktop folder itself, which is a virtual folder.
|Favorites||The directory that serves as a common repository for the user's favorite items.|
|History||The directory that serves as a common repository for Internet history items.|
|InternetCache||The directory that serves as a common repository for temporary Internet files.|
|LocalApplicationData||The directory that serves as a common repository for application-specific data that is used by the current, non-roaming user.|
|MyComputer||The "My Computer" folder.|
|MyMusic||The "My Music" folder.|
|MyPictures||The "My Pictures" folder.|
|Personal||The directory that serves as a common repository for documents.|
|ProgramFiles||The program files directory.|
|Programs||The directory that contains the user's program groups.|
|Recent||The directory that contains the user's most recently used documents.|
|SendTo||The directory that contains the Send To menu items.|
|StartMenu||The directory that contains the Start menu items.|
|Startup||The directory that corresponds to the user's Startup program group.
The system starts these programs whenever a user logs on or starts Windows NT or later, or starts Windows 98.
|System||The System directory.|
|Templates||The directory that serves as a common repository for document templates.|
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)