Windows Shell namespace
Encyclopedia
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 Shell namespace is a hierarchical tree that consists of the wide variety of objects that make up the system.
Specifically, the Shell namespace consists of two basic types of objects, namely files and folders. Folder objects, which are containers for file objects and other folders called subdirectories, are the nodes of the tree, while file objects are the leaves of the namespace tree. Objects in the Shell namespace can represent physically stored file system objects such as files and folders, or can be virtual objects such as the My Network Places
and Recycle Bin
"virtual folders
".
The folders and data files that reside on physical computer disk drives are the most numerous and familiar of these objects; although, through extensions the Shell also provides access to various virtual objects that may not involve physical storage at all. Consequentially, there are folders that do not reside on the physical file system, which are referred to as virtual folders
. Likewise, there are virtual file objects that do not reside on the physical file system. Virtual Shell objects are used throughout the Windows Shell. On the Desktop, Shell launchers are implemented through a built-in shell extension. The Window Shell utilizes virtual Shell objects to conceptually represent computer peripherals
and network devices, such as printers and routers. Virtual Shell objects can function as Shell links and execute commands when invoked by the user. For example, in Windows XP and other versions,
The user's Desktop is a special folder that resides at the root of the Shell namespace. Although this folder maps by default to a physical folder stored in the user's profile folder, the special desktop folder is represented as a distinct object from the physical desktop folder. The same holds true with the "My Documents
" (Windows 95 through XP) or user "Documents
" (Windows Vista+) folder.
Windows Shell
The Windows shell is the main graphical user interface in Microsoft Windows, and since Windows 95 hosted by Windows Explorer. The Windows shell includes well-known Windows components such as the Taskbar and the Start menu...
, the Windows Shell namespace is an organized tree-structured hierarchical
Hierarchy
A hierarchy is an arrangement of items in which the items are represented as being "above," "below," or "at the same level as" one another...
representation that Windows Explorer
Windows Explorer
This article is about the Windows file system browser. For the similarly named web browser, see Internet ExplorerWindows 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...
facilitates to graphically present file system
File system
A file system is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device which contain it. A file system organizes data in an efficient manner and is tuned to the...
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 Shell namespace is a hierarchical tree that consists of the wide variety of objects that make up the system.
Specifically, the Shell namespace consists of two basic types of objects, namely files and folders. Folder objects, which are containers for file objects and other folders called subdirectories, are the nodes of the tree, while file objects are the leaves of the namespace tree. Objects in the Shell namespace can represent physically stored file system objects such as files and folders, or can be virtual objects such as the My Network Places
My Network Places
In the Microsoft Windows operating systems, My Network Places is the network browser feature in Windows Explorer from Windows XP, Windows Server 2003, Windows 2000, and Windows Me onwards...
and Recycle Bin
Recycle bin (computing)
In computing, the trash is temporary storage for files that have been deleted in a file manager by the user, but not yet permanently erased from the physical media...
"virtual folders
Virtual folder
In computing, a virtual folder generally denotes an organizing principle for files that is not dependent on location in a hierarchical directory tree...
".
The folders and data files that reside on physical computer disk drives are the most numerous and familiar of these objects; although, through extensions the Shell also provides access to various virtual objects that may not involve physical storage at all. Consequentially, there are folders that do not reside on the physical file system, which are referred to as virtual folders
Virtual folder
In computing, a virtual folder generally denotes an organizing principle for files that is not dependent on location in a hierarchical directory tree...
. Likewise, there are virtual file objects that do not reside on the physical file system. Virtual Shell objects are used throughout the Windows Shell. On the Desktop, Shell launchers are implemented through a built-in shell extension. The Window Shell utilizes virtual Shell objects to conceptually represent computer peripherals
Peripheral
A peripheral is a device attached to a host computer, but not part of it, and is more or less dependent on the host. It expands the host's capabilities, but does not form part of the core computer architecture....
and network devices, such as printers and routers. Virtual Shell objects can function as Shell links and execute commands when invoked by the user. For example, in Windows XP and other versions,
"rundll32.exe" shell32.dll,Options_RunDLL 0
is executed on the command line when a user launches the "Folder Options" applet in the Control Panel.The user's Desktop is a special folder that resides at the root of the Shell namespace. Although this folder maps by default to a physical folder stored in the user's profile folder, the special desktop folder is represented as a distinct object from the physical desktop folder. The same holds true with the "My Documents
My Documents
On Microsoft Windows computer operating systems , My Documents is the name of a special folder on the computer's hard drive that the system commonly uses to store a user's documents, music, pictures, downloads, and other files.- Overview :Microsoft first introduced the "My Documents" folder in...
" (Windows 95 through XP) or user "Documents
My Documents
On Microsoft Windows computer operating systems , My Documents is the name of a special folder on the computer's hard drive that the system commonly uses to store a user's documents, music, pictures, downloads, and other files.- Overview :Microsoft first introduced the "My Documents" folder in...
" (Windows Vista+) folder.
External links
- Windows Shell programmer's guide at the MSDN Library
- Introduction to the Shell Namespace of the Shell Developer's Guide at the MSDN Library