Special folder

Last updated

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.

Contents

In Windows Server 2003 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 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 the user can switch to another display language and the names of the special folders will change. [1]

Overview

Figure 1: Windows Explorer's folder view in Windows XP uses virtual folders as the root. Windows XP Shell Namespace.png
Figure 1: Windows Explorer's folder view in Windows XP uses virtual folders as the root.

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.

Microsoft's "Compatible with Windows" software logo [2] 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 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 (Computer from Windows Vista to 8.1 and This PC from Windows 10), 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. 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

Special folderIntended purposeDefault Location
(in English. Non-English versions of Windows XP or earlier will use directory names appropriate to that language.)
First appeared in OS
AppDataPer-user application-specific files
On Windows 98 and Windows Me
%windir%\Application Data
On Windows 2000 and Windows XP
%USERPROFILE%\Application Data
On Windows Vista and later
%APPDATA%
98
Briefcase Files that need to be kept in sync
On Windows 95, Windows 98 and Windows Me
%windir%\Desktop
On Windows 2000 and later, not created by default but can be created in any folder. The Desktop.ini hidden system file inside the Briefcase and the Briefcase Explorer shell extension (SyncUI.dll) contained its functionality. Removed in Windows 10 Version 1703 and later.
95
ContactsUsers contacts
On Windows Vista and later

%USERPROFILE%\Contacts

Vista
CookiesInternet Explorer browser cookies
On Windows 98 and Windows Me
%windir%\Cookies
On Windows 2000 and later
%USERPROFILE%\Cookies
On Windows Vista and later
%APPDATA%\Microsoft\Windows\Cookies
98
Desktop DirectoryFiles stored on the user's desktop
On Windows 95, Windows 98 and Windows Me
%windir%\Desktop
On Windows 2000 and later
%USERPROFILE%\Desktop
95
FavoritesUser's Favorites
On Windows 98 and Windows Me
%windir%\Favorites
On Windows 2000 and later
%USERPROFILE%\Favorites
98
FontsContainer folder for installed fonts%windir%\Fonts 95
HistoryUser-specific browser history%USERPROFILE%\Local Settings\History 98
Internet CacheUser-specific Temporary Internet Files
On Windows 98 and Windows Me

%windir%\Temporary Internet Files

On Windows 2000 and Windows XP

%USERPROFILE%\Local Settings\Temporary Internet Files

On Windows Vista and Windows 7

%LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files

On Windows 8 and later

%LOCALAPPDATA%\Microsoft\Windows\INetCache

98
Local Application DataUser-specific and computer-specific application settings
On Windows 98 and Windows Me
%windir%\Application Data
On Windows 2000 and Windows XP
%USERPROFILE%\Local Settings\Application Data
On Windows Vista and later
%LOCALAPPDATA%
95
My DocumentsUser's documents
On Windows 98 and Windows Me
C:\My Documents
On Windows 2000 and Windows XP
%USERPROFILE%\My Documents
On Windows Vista and later
%USERPROFILE%\Documents
98
My MusicUser's music
On Windows 98 and Windows Me
C:\My Documents\My Music
On Windows 2000 and Windows XP
%USERPROFILE%\My Documents\My Music
On Windows Vista and later
%USERPROFILE%\Music
98
My PicturesUser's pictures
On Windows 98 and Windows Me
C:\My Documents\My Pictures
On Windows 2000 and Windows XP
%USERPROFILE%\My Documents\My Pictures
On Windows Vista and later
%USERPROFILE%\Pictures
98
My VideosUser's video files
On Windows 98 and Windows Me
C:\My Documents\My Videos
On Windows 2000 and Windows XP
%USERPROFILE%\My Documents\My Videos
On Windows Vista and later
%USERPROFILE%\Videos
98
ProgramsUser-specific "(All) Programs" groups and icons
On Windows 95, Windows 98, Windows 2000 and Windows XP
%USERPROFILE%\Start Menu\Programs
On Windows Vista and later
%APPDATA%\Microsoft\Windows\Start Menu\Programs
95
RecentUser-specific "My Recent Documents"
On Windows 98
%USERPROFILE%\Recent
On Windows 2000 and Windows XP
%USERPROFILE%\My Recent Documents
On Windows Vista and later
%APPDATA%\Microsoft\Windows\Recent
98
Send ToUser-specific "Send To" menu items
On Windows 98, Windows 2000 and Windows XP
%USERPROFILE%\SendTo
On Windows Vista and later
%APPDATA%\Microsoft\Windows\SendTo
98
Start MenuUser-specific "Start Menu" items
On Windows 95
%windir%\Start Menu
On Windows 98, Windows 2000 and Windows XP
%USERPROFILE%\Start Menu
On Windows Vista and later
%APPDATA%\Microsoft\Windows\Start Menu
95
SystemThe Windows system directory
On Windows 95, Windows 98 and Windows Me
16-bit and 32-bit libraries and executables
%windir%\System
Some other 32-bit libraries and executables
%windir%\System32
On Windows 2000 and later 32-bit Windows editions
32-bit libraries and executables
%windir%\system32
16-bit libraries and executables
%windir%\System
On 64-bit Windows editions
64-bit libraries and executables
%windir%\System32 [3]
32-bit libraries and executables
%windir%\SysWOW64 [4]
95
Saved GamesUser's Saved Games%USERPROFILE%\Saved Games Vista
TemplatesUser-specific document templates
On Windows 98 and Windows Me
%windir%\ShellNew
On Windows 2000 and Windows XP
%USERPROFILE%\Templates
On Windows Vista and later
%APPDATA%\Microsoft\Windows\Templates
98

Notes:

  1. 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. [5]
  2. "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. [6]
  3. 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.
  4. 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

Virtual FolderRepresentsOS
Recycle BinThe aggregated contents of the Recycle Bin on all drives for the current user 95
Control PanelIcons for Control Panel (Windows) applets 95
DesktopThe Windows Desktop 95
DrivesMy Computer; contains virtual folders representing everything on the local machine, as well as mapped network drives 95
InternetResources located on the Internet; WebDAV connections, etc. 98
My DocumentsVirtual folder of the user's My Documents folder; used as a child of the Desktop virtual folder 98
Network Network Neighborhood (Windows 95 and 98) or My Network Places (Windows 2000 and later); contains virtual folders for representing all network resources 95
Search ResultsListing of the results of the last search of the computer (appears only after a search) 2000 [7]
PrintersContainer folder for installed printers 95
ApplicationsListing of all installed Applications, including Universal Windows Platform apps.10

Notes:

  1. 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. [5]
  2. 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

Related Research Articles

In computing, a symbolic link is a file whose purpose is to point to a file or directory by specifying a path thereto.

<span class="mw-page-title-main">File Explorer</span> File manager application that is included with releases of the Microsoft Windows operating system

File Explorer, previously known as Windows Explorer, is a file manager application and default desktop environment 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 systems, as well as user interface elements such as the taskbar and desktop.

<span class="mw-page-title-main">Windows Registry</span> Database for Microsoft Windows

The Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and for applications that opt to use the registry. The kernel, device drivers, services, Security Accounts Manager, and user interfaces can all use the registry. The registry also allows access to counters for profiling system performance.

<span class="mw-page-title-main">Control Panel (Windows)</span> Component of Microsoft Windows and Windows Server

Control Panel is a component of Microsoft Windows that provides the ability to view and change system settings. It consists of a set of applets that include adding or removing hardware and software, controlling user accounts, changing accessibility options, and accessing networking settings. Additional applets are provided by third parties, such as audio and video drivers, VPN tools, input devices, and networking tools.

Windows USER is a component of the Microsoft Windows operating system that provides core functionality for building simple user interfaces. The component has existed in all versions of Windows, and includes functionality for window management, message passing, input processing and standard controls.

<span class="mw-page-title-main">System Restore</span> System recovery feature in Microsoft Windows

System Restore is a feature in Microsoft Windows that allows the user to revert their computer's state to that of a previous point in time, which can be used to recover from system malfunctions or other problems. First included in Windows Me, it has been included in all following desktop versions of Windows released since, excluding Windows Server. In Windows 10, System Restore is turned off by default and must be enabled by users in order to function. This does not affect personal files such as documents, music, pictures, and videos.

The Start menu is a graphical user interface element that has been part of Microsoft Windows since Windows 95, providing a means of opening programs and performing other functions in the Windows shell. The Start menu, and the Taskbar on which it appears, were created and named in 1993 by Daniel Oran, a program manager at Microsoft who had previously collaborated on great ape language research with the behavioral psychologist B.F. Skinner at Harvard.

In computing, a virtual folder generally denotes an organizing principle for files that is not dependent on location in a hierarchical directory tree. Instead, it consists of software that coalesces results from a data store, which may be a database or a custom index, and presents them visually in the format in which folder views are presented. A virtual folder can be thought of as a view that lists all files tagged with a certain tag, and thus a simulation of a folder whose dynamic contents can be assembled on the fly, when requested. It is related in concept to several other topics in computer science, with names including saved search, saved query, and filtering.

In computing, and specifically in the context of Microsoft Windows operating systems, Microsoft refers to Folder Redirection when automatically re-routing I/O to/from standard folders (directories) to use storage elsewhere on a network.

Compared with previous versions of Microsoft Windows, features new to Windows Vista are numerous, covering most aspects of the operating system, including additional management features, new aspects of security and safety, new I/O technologies, new networking features, and new technical features. Windows Vista also removed some others.

My Documents is the commonly recognized name of a special folder in Microsoft Windows This folder is supposed to be a personal area where users store their personal non-shared documents. However, many software developers have ignored this convention and as a result, this folder has become a dumping ground for the application data such as files containing settings and saved games. Users cannot delete, move or organize these files without causing unwanted behavior in their software.

In Windows Shell programming, the Windows Shell namespace is an organized tree-structured hierarchical representation that Windows Explorer facilitates to graphically present file system contents and other objects to the end user. Conceptually, the Shell namespace may be regarded as a larger and more inclusive version of the file system.

The Windows shell is the graphical user interface for the Microsoft Windows operating system. Its readily identifiable elements consist of the desktop, the taskbar, the Start menu, the task switcher and the AutoPlay feature. On some versions of Windows, it also includes Flip 3D and the charms. In Windows 10, the Windows Shell Experience Host interface drives visuals like the Start Menu, Action Center, Taskbar, and Task View/Timeline. However, the Windows shell also implements a shell namespace that enables computer programs running on Windows to access the computer's resources via the hierarchy of shell objects. "Desktop" is the top object of the hierarchy; below it there are a number of files and folders stored on the disk, as well as a number of special folders whose contents are either virtual or dynamically created. Recycle Bin, Libraries, Control Panel, This PC and Network are examples of such shell objects.

<span class="mw-page-title-main">User Account Control</span> Security software

User Account Control (UAC) is a mandatory access control enforcement feature introduced with Microsoft's Windows Vista and Windows Server 2008 operating systems, with a more relaxed version also present in Windows 7, Windows Server 2008 R2, Windows 8, Windows Server 2012, Windows 8.1, Windows Server 2012 R2, Windows 10, and Windows 11. It aims to improve the security of Microsoft Windows by limiting application software to standard user privileges until an administrator authorises an increase or elevation. In this way, only applications trusted by the user may receive administrative privileges and malware are kept from compromising the operating system. In other words, a user account may have administrator privileges assigned to it, but applications that the user runs do not inherit those privileges unless they are approved beforehand or the user explicitly authorises it.

Program Files is the directory name of a standard folder in Microsoft Windows operating systems in which applications that are not part of the operating system are conventionally installed. Typically, each application installed under the 'Program Files' directory will have a subdirectory for its application-specific resources. Shared resources, for example resources used by multiple applications from one company, are typically stored in the 'Common Files' directory.

A roaming user profile is a file synchronization concept in the Windows NT family of operating systems that allows users with a computer joined to a Windows domain to log on to any computer on the same domain and access their documents and have a consistent desktop experience, such as applications remembering toolbar positions and preferences, or the desktop appearance staying the same, while keeping all related files stored locally, to not continuously depend on a fast and reliable network connection to a file server.

Microsoft Windows profile refers to the user profile that is used by the Microsoft Windows operating system to represent the characteristics of the user.

In computing on Microsoft platforms, WoW64 is a subsystem of the Windows operating system capable of running 32-bit applications on 64-bit Windows. It is included in all 64-bit versions of Windows, except in Windows Server Server Core where it is an optional component, and Windows Nano Server where it is not included. WoW64 aims to take care of many of the differences between 32-bit Windows and 64-bit Windows, particularly involving structural changes to Windows itself.

References

  1. "How to Change the Display Language in Windows 10". How-To Geek. Archived from the original on November 6, 2015.
  2. Windows Software Logo Program
  3. The use of %windir%\System32 for 64-bit libraries and executables in a 64-bit Windows OS is intended to not break existing 32-bit programs (already using %windir%\System32) that are recompiled without modifications as a 64-bit executable.
  4. 32-bit executables have this directory mapped as %windir%\System32.
  5. 1 2 The Shell Namespace
  6. Chen, Raymond (2006). "Taxes". The Old New Thing (1st ed.). Pearson Education. p. 451. ISBN   0-321-44030-7.
  7. Paul Thurrott's SuperSite for Windows: Windows 2000 Professional Beta 3 Reviewed