System.Environment.SpecialFolder

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


AdminToolsThe 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. (48)
ApplicationDataThe 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. (26)
CDBurningThe file system directory that acts as a staging area for files waiting to be written to a CD. (59)
CommonAdminToolsThe file system directory that contains administrative tools for all users of the computer. (47)
CommonApplicationDataThe directory that serves as a common repository for application-specific data that is used by all users. (35)
CommonDesktopDirectoryThe file system directory that contains files and folders that appear on the desktop for all users. (25)
CommonDocumentsThe file system directory that contains documents that are common to all users. (46)
CommonMusicThe file system directory that serves as a repository for music files common to all users. (53)
CommonOemLinksThis value is recognized in Windows Vista for backward compatibility, but the special folder itself is no longer used. (58)
CommonPicturesThe file system directory that serves as a repository for image files common to all users. (54)
CommonProgramFilesThe directory for components that are shared across applications. To get the x86 common program files directory in a non-x86 process, use the ProgramFilesX86 member. (43)
CommonProgramFilesX86The Program Files folder. (44)
CommonProgramsA folder for components that are shared across applications. (23)
CommonStartMenuThe file system directory that contains the programs and folders that appear on the Start menu for all users. (22)
CommonStartupThe file system directory that contains the programs that appear in the Startup folder for all users. (24)
CommonTemplatesThe file system directory that contains the templates that are available to all users. (45)
CommonVideosThe file system directory that serves as a repository for video files common to all users. (55)
CookiesThe directory that serves as a common repository for Internet cookies. (33)
DesktopThe logical Desktop rather than the physical file system location. (0)
DesktopDirectoryThe 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. (16)
FavoritesThe directory that serves as a common repository for the user's favorite items. (6)
FontsA virtual folder that contains fonts. (20)
HistoryThe directory that serves as a common repository for Internet history items. (34)
InternetCacheThe directory that serves as a common repository for temporary Internet files. (32)
LocalApplicationDataThe directory that serves as a common repository for application-specific data that is used by the current, non-roaming user. (28)
LocalizedResourcesThe file system directory that contains localized resource data. (57)
MyComputerThe My Computer folder. When passed to the Environment.GetFolderPath method, the MyComputer enumeration member always yields the empty string ("") because no path is defined for the My Computer folder. (17)
MyDocumentsThe My Documents folder. This member is equivalent to Personal. (5)
MyMusicThe My Music folder. (13)
MyPicturesThe My Pictures folder. (39)
MyVideosThe file system directory that serves as a repository for videos that belong to a user. (14)
NetworkShortcutsA file system directory that contains the link objects that may exist in the My Network Places virtual folder. (19)
PersonalThe directory that serves as a common repository for documents. This member is equivalent to MyDocuments. (5)
PrinterShortcutsThe file system directory that contains the link objects that can exist in the Printers virtual folder. (27)
ProgramFilesIn a non-x86 process, passing ProgramFiles to the GetFolderPath(Environment+SpecialFolder) method returns the path for non-x86 programs. To get the x86 program files directory in a non-x86 process, use the ProgramFilesX86 member. (38)
ProgramFilesX86The x86 Program Files folder. (42)
ProgramsThe directory that contains the user's program groups. (2)
RecentThe directory that contains the user's most recently used documents. (8)
ResourcesThe file system directory that contains resource data. (56)
SendToThe directory that contains the Send To menu items. (9)
StartMenuThe directory that contains the Start menu items. (11)
StartupThe directory that corresponds to the user's Startup program group. The system starts these programs whenever a user logs on or starts Windows. (7)
SystemThe System directory. (37)
SystemX86The Windows System folder. (41)
TemplatesThe directory that serves as a common repository for document templates. (21)
UserProfileThe 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 ApplicationData. (40)
WindowsThe Windows directory or SYSROOT. This corresponds to the %windir% or %SYSTEMROOT% environment variables. (36)

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrev