Special folder
   HOME

TheInfoList



OR:

On Microsoft Windows, a special folder is a folder that is presented to the user through an interface as an abstract concept instead of an absolute folder path. (The synonymous term shell folder is sometimes used instead.) Special folders make it possible for any application to ask the operating system where an appropriate location for certain kinds of files can be found; independently of which version or user language of Windows is being used. In
Windows Server 2003 Windows Server 2003 is the sixth version of Windows Server operating system produced by Microsoft. It is part of the Windows NT family of operating systems and was released to manufacturing on March 28, 2003 and generally available on April 24, 2 ...
and earlier, a folder like the "Start Menu" had a different name on non-English versions of Windows. For example, on German versions of
Windows XP Windows XP is a major release of Microsoft's Windows NT operating system. It was released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct upgrade to its predecessors, Windows 2000 for high-end and ...
it is "Startmenü". However, starting with Windows Vista, all versions of Windows use the same English named folders and only display different names in the Windows Explorer. In
Windows 10 Windows 10 is a major release of Microsoft's Windows NT operating system. It is the direct successor to Windows 8.1, which was released nearly two years earlier. It was released to manufacturing on July 15, 2015, and later to retail on J ...
the user can switch to another display language and the names of the special folders will change.


Overview

Windows uses the concept of special folders to present the contents of the storage devices connected to the computer in a fairly consistent way that frees the user from having to deal with absolute file paths, which can (and often do) change between operating system versions, and even individual installations. The idea has evolved over time, with new special folders being added in every version of Windows after their introduction in
Windows 95 Windows 95 is a consumer-oriented operating system developed by Microsoft as part of its Windows 9x family of operating systems. The first operating system in the 9x family, it is the successor to Windows 3.1x, and was released to manufacturi ...
.
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washin ...
's "Compatible with Windows" software logo requires that an application make use of special folders locations to locate the appropriate folders in which documents and application settings should be stored. A special folder can either be a reference to a physical file system directory, or a reference to a "virtual" folder. In the former case, they are analogous to environment variables — in fact, many of the environment variables that are set in a user's session are defined by where the special folders are set to point to. Virtual folders do not actually exist on the file system; they are instead presented through
Windows Explorer File Explorer, previously known as Windows Explorer, is a file manager application that is included with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides a graphical user interface for accessing the file ...
as a tree of folders that the user can navigate. This is known as the Shell namespace. On Windows XP systems, the root of this namespace is the ''Desktop'' virtual folder, which contains the '' My Documents'', ''My Computer'', '' My Network Places'' (''Network Neighbourhood'' in Windows 95 and 98) and '' Recycle Bin'' virtual folders. Some virtual folders (like Desktop) have an accompanying special folder that is a reference to a directory on the physical file system. Windows Explorer displays the combined contents of a virtual folder and its associated file system folder to the user. This can be seen in Figure 1, which shows the Folder view in Windows XP's Explorer; in the Desktop virtual folder, the four standard virtual folders can be seen, as well as an additional folder, "a folder on the desktop", which is a real folder located in the Desktop directory in the user's profile. Some third-party programs add their own virtual folders to Windows Explorer.


List of special folders

The following tables list most of the file system and virtual folders that are available as of
Windows Vista Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
. The OS version in which each special folder was introduced is given as well. Items like %USERPROFILE% and %windir% are Windows environment variables.


File system directories

Notes: # The "Desktop" ''virtual folder'' is not the same thing as the "Desktop" ''special folder''. The Desktop virtual folder is the root of the Windows Shell namespace, which contains other virtual folders.The Shell Namespace
/ref> # "Local Application Data" differs from "Application Data" in that files located in the "Local" variant are also intended to be specific to the machine it is on. This only has relevance if the user's profile is a Roaming Profile in a Windows Server domain environment. # As with Desktop, the "My Documents" ''virtual folder'' differs from the "My Documents" ''special folder''. If the virtual folder variant is asked for, it will appear in a file dialog as a sub-directory of the "Desktop" virtual folder, instead of the user's profile directory as it physically exists on the hard drive. # If the "My Documents" folder is moved (e.g., to a network drive), attempting to access it via the shell variable will go to the original, default location.


Virtual folders

Notes: # The "Desktop" ''virtual folder'' is not the same thing as the "Desktop" ''special folder''. The Desktop virtual folder is the root of the Windows Shell namespace, which contains other virtual folders. # As with Desktop, the "My Documents" ''virtual folder'' differs from the "My Documents" ''special folder''. If the virtual folder variant is asked for, it will appear in a file dialog as a sub-directory of the "Desktop" virtual folder, instead of the user's profile directory as it logically exists on the hard drive.


See also

* Folder redirection * Tweak UI *
Unix directory structure In Unix and operating systems inspired by it, the file system is considered a central component of the operating system. It was also one of the first parts of the system to be designed and implemented by Ken Thompson in the first experimental ...
— similar standard for Unix * Filesystem Hierarchy Standard — similar standard for Linux


References


External links


CSIDL Values
— MSDN documentation containing a complete list of all available special folders and virtual folders

— knownfolderid: An extended list of (Win7 and later) special folders with their virtual folder IDs. {{Windows Components Windows components