Environment.SpecialFolder Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace: System
Assembly: mscorlib (in mscorlib.dll)


Public Enumeration SpecialFolder
public enum SpecialFolder


Member name Description
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.

Favorites The directory that serves as a common repository for the user's favorite items.
Personal The directory that serves as a common repository for documents.
Programs The directory that contains the user's program groups.
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.


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.

Version Notes

Windows Phone

This type is present to support the .NET Compact Framework infrastructure in Windows Phone, and it is not intended to be used in your application code.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


System Namespace