File 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 systems. It is also the component of the operating system that presents many user interface items on the screen such as the taskbar and desktop. Controlling the computer is possible without Windows Explorer running.

Overview

Windows Explorer was first included with Windows 95 as a replacement for File Manager, which came with all versions of Windows 3.x operating systems. Explorer could be accessed by double-clicking the new My Computer desktop icon, or launched from the new Start Menu that replaced the earlier Program Manager. There is also a shortcut key combination: Windows key + E. Successive versions of Windows introduced new features and capabilities, removed other features, and generally progressed from being a simple file system navigation tool into a task-based file management system.
While "Windows Explorer" or "File Explorer" is a term most commonly used to describe the file management aspect of the operating system, the Explorer also houses the operating system's search functionality and File Type associations, and is responsible for displaying the desktop icons, the Start Menu, the Taskbar, and the Control Panel. Collectively, these features are known as the Windows shell.
After a user logs in, the explorer process is created by userinit process. Userinit performs some initialization of the user environment and then looks in the registry at the Shell value and creates a process to run the system-defined shell – by default, Explorer.exe. Then Userinit exits. This is why Explorer.exe is shown by various process explorers with no parent – its parent has exited.

History

In 1995, Microsoft first released test versions of a shell refresh, named the Shell Technology Preview, and often referred to informally as "NewShell". The update was designed to replace the Windows 3.x Program Manager/File Manager based shell with Windows Explorer. The release provided capabilities quite similar to that of the Windows "Chicago" shell during its late beta phases, however was intended to be nothing more than a test release. There were two public releases of the Shell Technology Preview, made available to MSDN and CompuServe users: 26 May 1995 and 8 August 1995. Both held Windows Explorer builds of 3.51.1053.1. The Shell Technology Preview program never saw a final release under NT 3.51. The entire program was moved across to the Cairo development group who finally integrated the new shell design into the NT code with the release of NT 4.0 in July 1996.

Windows 98 and Windows Desktop Update

With the release of the Windows Desktop Update, Windows Explorer became "integrated" with Internet Explorer, most notably with the addition of navigation arrows for moving between recently visited directories, as well as Internet Explorer's Favorites menu.
An address bar was also added to Windows Explorer, which a user could type in directory paths directly, and be taken to that folder.
Another feature that was based on Internet Explorer technology was customized folders. Such folders contained a hidden web page that controlled the way the Windows Explorer displayed the contents of the folder.

Windows ME and Windows 2000

The "Web-style" folders view, with the left Explorer pane displaying details for the object currently selected, is turned on by default. For certain file types, such as pictures and media files, a preview is also displayed in the left pane. The Windows 2000 Explorer featured an interactive media player as the previewer for sound and video files. However, such a previewer can be enabled in Windows ME through the use of folder customization templates. Windows Explorer in Windows 2000 and Windows ME allows for custom thumbnail previewers and tooltip handlers. The default file tooltip displays file title, author, subject and comments; this metadata may be read from a special NTFS stream, if the file is on an NTFS volume, or from a COM Structured Storage stream, if the file is a structured storage document. All Microsoft Office documents since Office 95 make use of structured storage, so their metadata is displayable in the Windows 2000 Explorer default tooltip. File shortcuts can also store comments which are displayed as a tooltip when the mouse hovers over the shortcut.
The right-hand pane, which usually just lists files and folders, can also be customized. For example, the contents of the system folders aren't displayed by default, instead showing in the right pane a warning to the user that modifying the contents of the system folders could harm their computer. It's possible to define additional Explorer panes by using DIV elements in folder template files. This feature was abused by computer viruses that employed malicious scripts, Java applets, or ActiveX controls in folder template files as their infection vector. Two such viruses are VBS/Roor-CSophos, . Accessed 2007-08-26. and VBS.Redlof.a.
Other Explorer UI elements that can be customized include columns in "Details" view, icon overlays, and search providers: the new DHTML-based search pane is integrated into Windows 2000 Explorer, unlike the separate search dialog found in all previous Explorer versions.
Search capabilities were added, offering full-text searches of documents, with options to filter by date, size, and file type. The Indexing Service has also been integrated into the operating system and the search pane built into Explorer allows searching files indexed by its database. The ability to customize the standard buttons was also added.

Windows XP and Windows Server 2003

There were significant changes made to Windows Explorer in Windows XP, both visually and functionally. Microsoft focused especially on making Explorer more discoverable and task-based, as well as adding a number of features to reflect the growing use of a computer as a digital hub.
Windows Explorer in Windows Server 2003 contains all the same features as Windows XP, but the task panes and search companion are disabled by default.

Task pane

The task pane is displayed on the left-hand side of the window instead of the traditional folder tree view. It presents the user with a list of common actions and destinations that are relevant to the current directory or file selected. For instance, when in a directory containing mostly pictures, a set of "Picture tasks" is shown, offering the options to display these pictures as a slide show, to print them out, or to go online to order prints. Conversely, a folder containing music files would offer options to play those files in a media player, or to go online to purchase music. Windows XP had a Media bar but it was removed with SP1. The Media Bar was only available with Windows XP RTM.
Every folder also has "File and Folder Tasks", offering options to create new folders, share a folder on the local network, publish files or folders to a web site, and other common tasks like copying, renaming, moving, and deleting files or folders. File types that have identified themselves as being printable also have an option listed to print the file.
Underneath "File and Folder Tasks" is "Other Places", with links to other common locations such as "My Computer", "Control Panel", and "My Documents". These also change depending on what folder the user was in, leading to some criticism of Microsoft for not being consistent in displaying navigation choices.
Underneath "Other Places" is a "Details" pane which gives additional information – typically file size and date, but depending on the file type, a thumbnail preview, author, image dimensions, or other details.
The "Folders" button on the Windows Explorer toolbar toggles between the traditional tree view of folders, and the task pane. Users can get rid of the task pane or restore it using the sequence: Tools – Folder Options – General – Show Common Tasks/Use Windows Classic Folders.

Search companion

Microsoft introduced animated "Search Companions" in an attempt to make searching more engaging and friendly; the default character is a puppy named Rover, with three other characters also available. These search companions use the same technology as Microsoft Office's Office Assistants, even incorporating "tricks" and sound effects, and they can be used as Office Assistants if their files are copied into the C:\Windows\msagent\chars folder.
The search capability itself is fairly similar to Windows ME and Windows 2000, with one major addition: Search can also be instructed to search only files that are categorically "Documents" or "Pictures, music and video"; this feature is noteworthy largely because of how Windows determines what types of files can be classified under these categories. In order to maintain a relevant list of file types, Windows Explorer connects to Microsoft and downloads a set of XML files that define what these file types are. The Search Companion can be disabled in favor of the classic search pane used in Windows 2000 by using the Tweak UI applet from Microsoft's PowerToys for Windows XP, or by manually editing the registry.

Image handling

Windows XP improves image preview in Explorer by offering a Filmstrip view. "Back" and "Previous" buttons facilitate navigation through the pictures, and a pair of "Rotate" buttons offer 90-degree clockwise and counter-clockwise rotation of images. Aside from the Filmstrip view mode, there is a 'Thumbnails' mode, which displays thumbnail-sized images in the folder. A Folder containing images will also show thumbnails of four of the images from that folder overlaid on top of a large folder icon.

Web publishing

Web sites that offer image hosting services can be plugged into Windows Explorer, which the user can use to select images on their computer, and have them uploaded correctly without dealing with comparatively complex solutions involving FTP or web interfaces.

Other changes

Search, organizing and metadata

Windows Explorer includes significant changes from previous versions of Windows such as improved filtering, sorting, grouping and stacking. Combined with integrated desktop search, Windows Explorer allows users to find and organize their files in new ways, such as stacks. The new Stacks viewing mode groups files according to the criterion specified by the user. Stacks can be clicked to filter the files shown in Windows Explorer. There is also the ability to save searches as virtual folders or search folders. A search folder is simply an XML file, which stores the query in a form that can be used by the Windows search subsystem. When accessed, the search is executed and the results are aggregated and presented as a virtual folder. Windows Vista includes six search folders by default: recent documents, recent e-mail, recent music, recent pictures and videos, recent changed, and "Shared by Me". When sorting items, the sort order no longer remains consistently Ascending or Descending. Each property has a preferred sort direction. For example, sort by date defaults to descending order, as does size. But name and type default to ascending order.
Searching for files containing a given text string became problematic with Vista unless the files have been indexed. An alternative is to use the findstr command-line function. After right-clicking on a folder one can open a command-line prompt in that folder.
Windows Explorer also contains modifications in the visualization of files on a computer. A new addition to Windows Explorer in Vista and Server 2008 is the details pane, which displays metadata and information relating to the currently selected file or folder. The details pane will also display a thumbnail of the file or an icon of the filetype if the file does not contain visual information. Furthermore, different imagery is overlaid on thumbnails to give more information about the file, such as a picture frame around the thumbnail of an image file, or a filmstrip on a video file.
and Windows Server 2008 showing metadata of an image.|alt=
The details pane also allows for the change of some textual metadata such as author and title in files that support them within Windows Explorer. A new type of metadata called tags allows users to add descriptive terms to documents for easier categorization and retrieval. Some files support open metadata, allowing users to define new types of metadata for their files. Out-of-the-box, Windows Vista and Windows Server 2008 supports Microsoft Office documents and most audio and video files. Support for other file types can however be added by writing specialized software to retrieve the metadata at the shell's request. Metadata stored in a file's alternate data stream only on NTFS volumes cannot be viewed and edited through the summary tab of the file's properties anymore. Instead, all metadata is stored inside the file, so that it will always travel with the file and not be dependent on the file system.

Layout and icons

Windows Explorer in Windows Vista and Windows Server 2008 also introduces a new layout. The task panes from Windows XP are replaced with a toolbar on top and a navigation pane on the left. The navigation pane contains commonly accessed folders and preconfigured search folders. Eight different views are available to view files and folders, including extra large, large, medium, small, list, details, tiles, and content. In addition, column headers now appear in all icon viewing modes, unlike Windows XP where they only appear in the details icon viewing mode. File and folder actions such as cut, copy, paste, undo, redo, delete, rename and properties are built into a dropdown menu which appears when the Organize button is clicked. It is also possible to change the layout of the Explorer window by using the Organize button. Users can select whether to display classic menus, a search pane, a preview pane, a reading pane, and the navigation pane. The preview pane enables users to preview files without opening them. If an application, such as Office 2007, installs preview handlers for file types, then these files can also be edited within the preview pane itself.
Windows Vista saw the introduction of the breadcrumb bar for easier navigation. As opposed to the prior address bar which displayed the current folder in a simple editable combobox, this new style structures the path into clickable levels of folder hierarchy, enabling the user to skip as many levels as desired in one click rather than repeatedly clicking "Up". It is also possible to navigate to any subfolder of the current folder using the arrow to the right of the last item. The menu bar is now hidden by default but reappears temporarily when the user presses Alt.
Check boxes in Windows Explorer allow the selection of multiple files. Free and used space on all drives is shown in horizontal indicator bars. Icons of various sizes are supported: 16 x 16, 24 x 24, 32 x 32, 48 x 48, 64 x 64, 96 x 96, 128 x 128 and 256 x 256. Windows Explorer can zoom the icons in and out using a slider or by holding down the Ctrl key and using the mouse scrollwheel. Live icons can display the content of folders and files themselves rather than generic icons.

Other changes

With the release of Windows Vista and Server 2008 and Windows Internet Explorer 7 for Windows XP, Internet Explorer is no longer integrated with Windows Explorer. In Windows Vista and Server 2008, Windows Explorer no longer displays web pages, and IE7 does not support use as a file manager, although one will separately launch the other as necessary.
When moving or copying files from one folder to another, if two files have the same name, an option is now available to rename the file; in previous versions of Windows, the user was prompted to choose either a replacement or cancel moving the file. Also, when renaming a file, Explorer only highlights the filename without selecting the extension. Renaming multiple files is quicker as pressing Tab automatically renames the existing file or folder and opens the file name text field for the next file for renaming. Shift+Tab allow renaming in the same manner upwards.
Support for burning data on DVDs in addition to CDs and DVD-RAM using version 2.0 of the Image Mastering API was added.
In case a file is in use by another application, Windows Explorer informs users to close the application and retry the file operation. Also, a new interface IFileIsInUse is introduced into the API which developers can use to let other applications switch to the main window of the application that has the file open or simply close the file from the "File in Use" dialog. If the running application exposes these operations by means of the IFileInUse interface, Windows Explorer, upon encountering a locked file, allows the user to close the file or switch to the application from the dialog box itself.

Removed and changed features

The ability to customize the layout and buttons on the toolbars has been removed in Windows Vista's Explorer, as has the ability to add a password to a zip file. The Toolbar button in Explorer to go up one folder from the current folder has been removed. Although still fully available from the menus and keyboard shortcuts, toolbar buttons for Cut, Copy, Paste, Undo, Delete, Properties and some others are no longer available. The Menu Bar is also hidden by default, but is still available by pressing the Alt key, or changing its visibility in the layout options. Several other features are removed such as showing the size on the status bar without selecting items, storing metadata in NTFS alternate data streams, the IColumnProvider interface which allowed addition of custom columns to Explorer and folder background customization using desktop.ini.
The option "Managing pairs of Web pages and folders" is also removed, and the user has no way of telling Vista that a.html file and the folder with the same name that was created when saving a complete web page from IE should be treated separately, that is, they cannot delete the folder without deleting the html file as well.
The ability to right-click a folder and hit "Search" was removed in Windows Vista Service Pack 1. Users must open the folder they wish to search in and enter their keywords in the search field located on the top right corner of the window. Alternatively, users can specify other search parameters through the "Advanced Search" UI, which can be accessed by clicking on the Organize Bar, and selecting Search Pane under the Layout submenu. Pressing F3 also opens the "Advanced Search" interface.

Windows 7 and Windows Server 2008 R2

Libraries

Windows Explorer in Windows 7 and Windows Server 2008 R2 supports libraries, virtual folders described in a .library-ms file that aggregates content from various locations – including shared folders on networked systems if the shared folder has been indexed by the host system – and present them in a unified view. Searching in a library automatically federates the query to the remote systems, in addition to searching on the local system, so that files on the remote systems are also searched. Unlike search folders, Libraries are backed by a physical location which allows files to be saved in the libraries. Such files are transparently saved in the backing physical folder. The default save location for a library may be configured by the user, as can the default view layout for each library. Libraries are generally stored in the libraries special folder, which allows them to be displayed on the navigation pane.
By default, a new user account in Windows 7 contains four libraries, for different file types: Documents, Music, Pictures, and Videos. They are configured to include the user's profile folders for these respective file types, as well as the computer's corresponding Public folders.
In addition to aggregating multiple storage locations, Libraries enable Arrangement Views and Search Filter Suggestions. Arrangement Views allow users to pivot their views of the library's contents based on metadata. For example, selecting the "By Month" view in the Pictures library will display photos in stacks, where each stack represents a month of photos based on the date they were taken. In the Music library, the "By Artist" view will display stacks of albums from the artists in their collections, and browsing into an artist stack will then display the relevant albums.
Search Filter Suggestions are a new feature of the Windows 7 and Windows Server 2008 R2 Explorer's search box. When the user clicks in the search box, a menu shows up below it showing recent searches as well as suggested Advanced Query Syntax filters that the user can type. When one is selected, the menu will update to show the possible values to filter by for that property, and this list is based on the current location and other parts of the query already typed. For example, selecting the "tags" filter or typing "tags:" into the search box will display the list of possible tag values which will return search results.
The metadata written within the file, implemented in Vista, is also utilized in Windows 7. This can sometimes lead to long wait times displaying the contents of a folder. For example, if a folder contains many large video files totaling hundreds of gigabytes, and the Window Explorer pane is in Details view mode showing a property contained within the metadata, Windows Explorer might have to search the contents of the whole file for the meta data. Some damaged files can cause a prolonged delay as well. This is due to metadata information being able to be placed anywhere within the file, beginning, middle, or end, necessitating a search of the whole file. Lengthy delays also occur when displaying the contents of a folder with many different types of program icons. The icon is contained in the metadata. Some programs cause the activation of a virus scan when retrieving the icon information from the metadata, hence producing a lengthy delay.
Arrangement Views and Search Filter Suggestions are database-backed features which require that all locations in the Library be indexed by the Windows Search service. Local disk locations must be indexed by the local indexer, and Windows Explorer will automatically add locations to the indexing scope when they are included in a library. Remote locations can be indexed by the indexer on another Windows 7 and Windows Server 2008 R2 machine, on a Windows machine running Windows Search 4, or on another device that implements the MS-WSP remote query protocol.

Federated search

Windows Explorer also supports federating search to external data sources, such as custom databases or web services, that are exposed over the web and described via an OpenSearch definition. The federated location description is provided as a .osdx file. Once installed, the data source becomes queryable directly from Windows Explorer. Windows Explorer features, such as previews and thumbnails, work with the results of a federated search as well.

Other changes

In Windows 7, several features have been removed from Windows Explorer, including the collapsible folder pane, overlay icon for shared items, remembering individual folder window sizes and positions, free disk space on the status bar, icons on the command bar, ability to disable Auto Arrange and Align to Grid, sortable column headings in other views except details view, ability to disable full row selection in details view, automatic horizontal scrolling and scrollbar in the navigation pane and maintaining selection when sorting from the Edit menu.

Windows 8 and Windows Server 2012

The file manager on Windows 8 and Windows Server 2012 is renamed File Explorer and introduces new features such as a redesigned interface incorporating a ribbon toolbar, and a redesigned file operation dialog that displays more detailed progress and allows for file operations to be paused and resumed. The details pane from Windows Vista and 7 was removed and replaced with a narrower pane with no icons and fewer detail columns. But other details are displayed by hovering over the file's name.

Windows 10 and Windows Server 2016

The icons in File Explorer have been redesigned. They are flatter and simpler in design. The window border padding is thinner than previous versions. Windows 10 Creators Update and later versions come with a new Universal File Explorer. Although hidden, it can be opened by creating a shortcut pointing to "explorer shell:AppsFolder\c5e2524a-ea46-4f67-841f-6a9465d9d515_cw5n1h2txyewy!App"

Windows 10, version 1809 and Windows Server 2019

A "dark mode" has been added to File Explorer in Windows 10, version 1809 and Windows Server 2019. The Universal File Explorer also includes new features.

Windows 10, version 1909

and OneDrive have been integrated into File Explorer's search feature in Windows 10, version 1909.

Extensibility

File Explorer can be extended to support non-default functionality by means of Windows shell extensions, which are COM objects that plug the extended functionality into Windows Explorer. Shell extensions can be in the form of shell extension handlers, toolbars or even namespace extensions that allow certain folders to be presented as a special folder. File Explorer also allows metadata for files to be added as NTFS alternate data streams, separate from the data stream for the file.
Shell extension handlers are queried by the shell beforehand for modifying the action the shell takes. They can be associated on a per file type – where they will show up only when a particular action takes place on a particular file type – or on a global basis – which are always available. The shell supports the following extension handlers:
HandlerDescriptionCan be implemented onRequired shell version
Context menu handlerAdds menu items to the context menu. It is called before the context menu is displayed.Per file typeWindows 95 and later. Windows 7 introduced IExecuteCommand
Drag-and-drop handlerControls the action upon right-click drag and drop and modifies the context menu that appears.GlobalWindows 95 and later
Drop target handlerControls the action after a data object is dragged and dropped over a drop target such as a file.Per file typeWindows 95 and later
Data object handlerControls the action after a file is copied to the clipboard or dragged and dropped over a drop target. It can provide additional clipboard formats to the drop target.Per file typeWindows 95 and later
Icon handlerAssigns a custom icon to an individual file amongst a class of file types. It is called before file icons are displayed.Per file typeWindows 95 and later
Property sheet handlerReplaces or adds pages to the property sheet dialog box of an object.Per file typeWindows 95 and later
Copy hook handlerAllows running, modifying or denying the action when a user or application tries to copy, move, delete, or rename an object.Not associated with a file typeWindows 95 and later
Search handlerAllows shell integration of a custom search engine.Not associated with a file typeWindows 95 through Windows XP
Infotip handlerAllows retrieving flags and infotip information for an item and displaying it inside a popup tooltip upon mouse hover.Per file typeWindows Desktop Update and later
Thumbnail image handlerProvides for a thumbnail image to be generated and displayed along with its alpha type when a file is selected or the thumbnail view is activated.Per file typeWindows Desktop Update and later. Windows Vista introduced a newer IThumbnailProvider interface that also shows thumbnails in the Details pane. The older IExtractImage is still supported but not in the Details pane.
Disk Cleanup handlerAdd a new entry to the Disk Cleanup application and allows specifying additional disk locations or files to clean up.Per folderWindows 98 and later
Column handlerAllows creating and displaying custom columns in Windows Explorer details view. It can be used to extend sorting and grouping.Per folderWindows 2000 and later
Icon overlay handlerAllows displaying an overlay icon over a shell object.Per file typeWindows 2000 and later
Metadata handlerAllows viewing and modifying metadata stored in a file. It can be used to extend details view columns, infotips, property pages, sorting and grouping.Per file typeWindows 2000 and later
Filter handler Allows file properties and its contents to be indexed and searched by Indexing Service or Windows SearchPer file typeWindows 2000 and later
AutoPlay handlerExamines newly discovered removable media and devices and, based on content such as pictures, music or video files, launches an appropriate application to play or display the content.Per file type category
Windows XP only: per device and per file type category
Windows XP and later
Property handlerAllows viewing and modifying system-defined and custom properties of a file.Per file typeWindows Vista and later; on Windows XP if Windows Search is installed.
Preview handlerRenders enhanced previews of items without launching the default application when a file is selected. It can also provide file type-specific navigation such as browsing a document, or seeking inside a media file.Per file typeWindows Vista and later

Namespace extensions are used by Explorer to either display some data – which are not persisted as files – in a folder-like view or to present data in a way that is different from their organization on the file system. This feature can be exploited by a relational file system like liquidFOLDERs or Tabbles, clones of the ill-fated Microsoft WinFS. Special folders, such as My Computer and Network Places in Windows Explorer are implemented this way, as are Explorer views that let items in a mobile phone or digital camera be explored. Source-control systems that use Explorer to browse source repositories also use Namespace extensions to allow Explorer to browse the revisions. To implement a namespace extension, the IPersistFolder, IShellView, IShellFolder, IShellBrowser and IOleWindow interfaces need to be implemented and registered. The implementation needs to provide the logic for navigating the data store as well as describing the presentation. Windows Explorer will instantiate the COM objects as required.
While Windows Explorer natively exposes the extensibility points as COM interfaces,.NET Framework can also be used to write extensions, using the COM Interop functionality of.NET Framework. While Microsoft itself makes available extensions – such as the photo info tool – which are authored using.NET Framework, they currently recommend against writing managed shell extensions, as only one instance of the CLR can be loaded per-process. This behavior will cause conflicts if multiple managed add-ins, targeting different versions of the CLR, are attempted to be run simultaneously.