From Wikipedia, the free encyclopedia - View original article
|A component of Microsoft Windows|
File Explorer showing Windows 8 libraries, with ribbons revealed
|Included with||Microsoft Windows 95 onwards|
|Replaces||File Manager following Windows 3.1x|
|This article needs additional citations for verification. (December 2007)|
|A component of Microsoft Windows|
File Explorer showing Windows 8 libraries, with ribbons revealed
|Included with||Microsoft Windows 95 onwards|
|Replaces||File Manager following Windows 3.1x|
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 monitor such as the taskbar and desktop. Controlling the computer is possible without Windows Explorer running (for example, the File | Run command in Task Manager on NT-derived versions of Windows will function without it, as will commands typed in a command prompt window). Located in the
C:\Windows directory, it is sometimes referred to as the Windows shell,
explorer.exe, or simply "Explorer".
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 (and in some cases, Internet Explorer) 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 process also houses the operating system’s search functionality and File Type associations (based on filename extensions), 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 (such as running the login script and applying group policies) 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.
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" (codename for Windows 95) 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.
With the release of the Windows Desktop Update (packaged with Internet Explorer 4.0 as an optional component, and included in Windows 98), Windows Explorer became "integrated" with Internet Explorer, most notably with the addition of navigation arrows (back and forward) for moving between recently visited directories, as well as Internet Explorer’s Favorites menu. At the time these changes raised antitrust concerns about the incorporation of what was seen as an application feature, but this feature has since been emulated by most other file browsers.
An address bar was also added to Windows Explorer, which a user could type in directory paths directly, and be taken to that folder. It also operated as a URL bar for Internet addresses; web pages would open in the main portion of the window.
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. This feature proved to have security vulnerabilities due to its reliance on ActiveX objects and scripting, and was removed with the introduction of Windows XP.
Other new features:
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 an 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-C 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 (including arbitrary ranges like "modified within the last week"), 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.
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.
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(s) 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.
Microsoft introduced animated "Search Companions" in an attempt to make searching more engaging and friendly; the default character is a puppy named Rover (previously used in Microsoft Bob), with three other characters (Merlin the magician, Earl the surfer, and Courtney) also available. These search companions bear a great deal of similarity to Microsoft Office’s Office Assistants, even incorporating "tricks" and sound effects.
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.
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 (lossy) 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 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.
|This section does not cite any references or sources. (December 2012)|
|This section requires expansion. (December 2012)|
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 "Stacks" view 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. 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. Thumbnails can be zoomed on.
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 (secondary) 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.
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 pre-populated Search folders. Seven different views are available to view files and folders, namely, List, Details, Small icons, Medium icons, Large icons, Extra large icons or Tiles. Automatic folder type discovery automatically detects the contents of a folder and display the correct detail settings. 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/or the Navigation Pane. The Preview pane, allows for previewing files (viewing documents and playing media files) in addition to the Details pane. Also, Explorer can show a preview for any image format if the necessary codec for the format is installed in the Windows Imaging Component.
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 (though falls back to the classic edit mode when blank area is clicked), 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.
With the release of Windows Vista & 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 (and in Windows XP as well if IE7 or 8 is installed), 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 (DVD±R, DVD±R DL, DVD±R RW) 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.
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 (compressed folder). The Toolbar button in Explorer to go up one folder from the current folder has been removed (the function still exists however, one can move up a folder by pressing + ). 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 secondary 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. A solution to this is provided on <http://windowsxp.mvps.org/webpairs.htm>. After the webpairs.reg file has been merged into the registry, the "Managing pairs of Web pages and folders" option is available in the Folder Options View tab.
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 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 (or typed in manually), 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.
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 (such as Windows Vista or Windows Home Server), or on another device that implements the MS-WSP remote query protocol.
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 (called a Search Connector) 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.
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.
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.
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 (or even non-filesystem objects such as the images scanned by a scanner) 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 basis – 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:
|Handler||Description||Can be implemented on||Required shell version|
|Context menu handler||Adds menu items to the context menu. It is called before the context menu is displayed.||Per-file type basis||Windows 95 and later. Windows 7 introduced IExecuteCommand|
|Drag-and-drop handler||Controls the action upon right-click drag and drop and modifies the context menu that appears.||Global basis||Windows 95 and later|
|Drop target handler||Controls the action after a data object is dragged and dropped over a drop target such as a file.||Per-file type basis||Windows 95 and later|
|Data object handler||Controls 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 type basis||Windows 95 and later|
|Icon handler||Assigns a custom icon to an individual file amongst a class of file types. It is called before file icons are displayed.||Per-file type basis||Windows 95 and later|
|Property sheet handler||Replaces or adds pages to the property sheet dialog box of an object.||Per-file type basis||Windows 95 and later|
|Copy hook handler||Allows 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 type||Windows 95 and later|
|Search handler||Allows shell integration of a custom search engine.||Not associated with a file type||Windows 95 and later up to Windows XP|
|Infotip handler||Allows retrieving flags and infotip information for an item and displaying it inside a popup tooltip upon mouse hover.||Per-file type basis||Windows Desktop Update and later|
|Thumbnail image handler||Provides 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 type basis||Windows 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 handler||Add a new entry to the Disk Cleanup application and allows specifying additional disk locations or files to clean up.||Per-folder basis||Windows 98 and later|
|Column handler||Allows creating and displaying custom columns in Windows Explorer Details view. It can be used to extend sorting and grouping.||Per-folder basis||Windows 2000, Windows Me, Windows XP & Server 2003|
|Icon overlay handler||Allows displaying an overlay icon over a shell object (a file or folder icon).||Per-file type basis||Windows 2000 and later|
|Metadata handler||Allows 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 type basis||Windows 2000 and later|
|Filter handler (IFilter)||Allows file properties and its contents to be indexed and searched by Indexing Service or Windows Search||Per-file type basis||Windows 2000 and later|
|AutoPlay handler||Examines 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. In Windows XP only, per-device and per file type category.||Windows XP and later|
|Property handler||Allows viewing and modifying system-defined and custom properties of a file.||Per-file type basis||Windows Vista and later, on Windows XP if Windows Search is installed.|
|Preview handler||Renders 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 type basis||Windows 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
IOleWindow interfaces needs 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 (prior to version 4.0) can be loaded per-process. This behavior would cause conflicts if multiple managed add-ins, targeting different versions of the CLR, are attempted to be run simultaneously.