- System. Windows. Shell Пространство имен
- Классы
- Перечисления
- Windows Shell
- Shell Development Scenarios
- Windows Shell SDK Documentation
- Windows Shell
- Shell Development Scenarios
- Windows Shell SDK Documentation
- Оболочка Windows
- Сценарии разработки оболочки
- Документация по пакету SDK оболочки Windows
- Windows commands
- Prerequisites
- Command shell overview
- Command-line reference A-Z
System. Windows. Shell Пространство имен
Содержит типы, предоставляющие доступ к расширенным функциям панели задач Windows 7 с использованием управляемого кода. Contains types that provide managed code access to the enhanced functionality of the Windows 7 taskbar.
Классы
Представляет базовый класс для классов JumpPath и JumpTask. Represents the base class for the JumpPath and JumpTask classes.
Предоставляет данные для события JumpItemsRejected. Provides data for the JumpItemsRejected event.
Предоставляет данные для события JumpItemsRemovedByUser. Provides data for the JumpItemsRemovedByUser event.
Представляет список элементов и задач, отображаемых на кнопке панели задач Windows 7 в виде меню. Represents a list of items and tasks displayed as a menu on a Windows 7 taskbar button.
Представляет ссылку на файл, отображаемую в списке переходов на панели задач Windows 7. Represents a link to a file that is displayed in a Windows 7 taskbar Jump List.
Представляет ярлык приложения в списке переходов на панели задач Windows 7. Represents a shortcut to an application in the Windows 7 taskbar Jump List.
Представляет сведения об отображении эскиза панели задач. Represents information about how the taskbar thumbnail is displayed.
Представляет сведения об отображении кнопки на эскизе панели задач Windows 7. Represents information about how to display a button in the Windows 7 taskbar thumbnail.
Представляет коллекцию объектов ThumbButtonInfo, связанных с Window. Represents a collection of ThumbButtonInfo objects that are associated with a Window.
Представляет объект, описывающий настройки неклиентской области окна. Represents an object that describes the customizations to the non-client area of a window.
Перечисления
Описывает, почему оболочке Windows не удалось добавить объект JumpItem в список переходов. Describes why a JumpItem could not be added to the Jump List by the Windows shell.
Задает константы, указывающее, какие границы рамки окна не принадлежат клиенту. Specifies constants that indicate which edges of the window frame are not owned by the client.
Задает константы, указывающее направление поведения захвата для изменения размера на элементе ввода. Specifies constants that indicate the direction of the resize grip behavior on an input element.
Определяет состояние индикатора хода выполнения на панели задач Windows. Specifies the state of the progress indicator in the Windows taskbar.
Windows Shell
The Windows UI provides users with access to a wide variety of objects necessary for running applications and managing the operating system. The most numerous and familiar of these objects are the folders and files that reside on computer disk drives. There are also a number of virtual objects that allow the user to perform tasks such as sending files to remote printers or accessing the Recycle Bin. The Shell organizes these objects into a hierarchical namespace and provides users and applications with a consistent and efficient way to access and manage objects.
Shell Development Scenarios
The following development scenarios relate to application development:
- Extending the Shell, which consists of creating a data source (versus consuming the Shell data model)
- Implementing a subset of the Shell data source tasks
- Supporting libraries and item views in Windows Explorer
- Using the common file dialog
- Implementing Control Panel items
- Managing notifications
The following development scenarios relate to file format ownership:
- Implementing a subset of the Shell data source tasks
- Implementing any handler
- Supporting desktop search
The following development scenarios relate to data storage ownership:
- Supporting desktop search and OpenSearch
- Implementing a subset of the Shell data source tasks (virtual folders)
- Supporting libraries in Windows Explorer
The following development scenario relates to device support:
- Auto run and auto play
Windows Shell SDK Documentation
This documentation is broken into three major sections:
- The Shell Developer’s Guide provides conceptual material about how the Shell works and how to use the Shell’s API in your application.
- The Shell Reference section documents programming elements that make up the various Shell APIs.
- Shell SDK Samples provides links to Shell samples. Most samples can be downloaded from MSDN Code Gallery. All samples are included in the Windows SDK.
The following table provides an outline of the Shell Reference section. Unless otherwise noted, all programming elements are documented in unmanaged C++.
Windows Shell
The Windows UI provides users with access to a wide variety of objects necessary for running applications and managing the operating system. The most numerous and familiar of these objects are the folders and files that reside on computer disk drives. There are also a number of virtual objects that allow the user to perform tasks such as sending files to remote printers or accessing the Recycle Bin. The Shell organizes these objects into a hierarchical namespace and provides users and applications with a consistent and efficient way to access and manage objects.
Shell Development Scenarios
The following development scenarios relate to application development:
- Extending the Shell, which consists of creating a data source (versus consuming the Shell data model)
- Implementing a subset of the Shell data source tasks
- Supporting libraries and item views in Windows Explorer
- Using the common file dialog
- Implementing Control Panel items
- Managing notifications
The following development scenarios relate to file format ownership:
- Implementing a subset of the Shell data source tasks
- Implementing any handler
- Supporting desktop search
The following development scenarios relate to data storage ownership:
- Supporting desktop search and OpenSearch
- Implementing a subset of the Shell data source tasks (virtual folders)
- Supporting libraries in Windows Explorer
The following development scenario relates to device support:
- Auto run and auto play
Windows Shell SDK Documentation
This documentation is broken into three major sections:
- The Shell Developer’s Guide provides conceptual material about how the Shell works and how to use the Shell’s API in your application.
- The Shell Reference section documents programming elements that make up the various Shell APIs.
- Shell Samples provides links to related code samples.
The following table provides an outline of the Shell Reference section. Unless otherwise noted, all programming elements are documented in unmanaged C++.
Оболочка Windows
Пользовательский интерфейс Windows предоставляет пользователям доступ к широкому спектру объектов, необходимых для запуска приложений и управления операционной системой. Самыми многочисленными и знакомыми этими объектами являются папки и файлы, расположенные на дисках компьютера. Существует также ряд виртуальных объектов, позволяющих пользователю выполнять такие задачи, как отправка файлов на удаленные принтеры или доступ к корзине. Оболочка организует эти объекты в иерархическое пространство имен и предоставляет пользователям и приложениям единообразный и эффективный способ доступа к объектам и управления ими.
Сценарии разработки оболочки
Следующие сценарии разработки относятся к разработке приложений:
- Расширение оболочки, которая состоит из создания источника данных (и использования модели данных оболочки)
- Реализация подмножества задач источника данных оболочки
- Поддержка библиотек и представлений элементов в проводнике Windows
- Использование диалогового окна «common File»
- Реализация элементов панели управления
- Управление уведомлениями
Следующие сценарии разработки относятся к владению File Format:
- Реализация подмножества задач источника данных оболочки
- Реализация любого обработчика
- Поддержка поиска на рабочем столе
Следующие сценарии разработки относятся к владению хранилища данных.
- Поддержка поиска на рабочем столе и OpenSearch
- Реализация подмножества задач «Источник данных оболочки» (виртуальные папки)
- Вспомогательные библиотеки в проводнике Windows
Следующий сценарий разработки относится к поддержке устройств:
- Автоматический запуск и автоматическое воспроизведение
Документация по пакету SDK оболочки Windows
Эта документация разбивается на три основных раздела:
- Руководство разработчика по оболочке содержит основные материалы о принципах работы оболочки и использовании API оболочки в приложении.
- В разделе справочника по оболочке документируется программные элементы, составляющие различные API-интерфейсы оболочки.
- Примеры оболочки содержат ссылки на связанные примеры кода.
В следующей таблице приведена схема раздела Справочника по оболочке. Если не указано иное, все программные элементы задокументированы в неуправляемом C++.
Windows commands
All supported versions of Windows (server and client) have a set of Win32 console commands built in.
This set of documentation describes the Windows Commands you can use to automate tasks by using scripts or scripting tools.
Prerequisites
The information that is contained in this topic applies to:
- Windows Server 2019
- Windows Server (Semi-Annual Channel)
- Windows Server 2016
- Windows Server 2012 R2
- Windows Server 2012
- Windows Server 2008 R2
- Windows Server 2008
- Windows 10
- Windows 8.1
Command shell overview
The Command shell was the first shell built into Windows to automate routine tasks, like user account management or nightly backups, with batch (.bat) files. With Windows Script Host you could run more sophisticated scripts in the Command shell. For more information, see cscript or wscript. You can perform operations more efficiently by using scripts than you can by using the user interface. Scripts accept all Commands that are available at the command line.
Windows has two command shells: The Command shell and PowerShell. Each shell is a software program that provides direct communication between you and the operating system or application, providing an environment to automate IT operations.
PowerShell was designed to extend the capabilities of the Command shell to run PowerShell commands called cmdlets. Cmdlets are similar to Windows Commands but provide a more extensible scripting language. You can run Windows Commands and PowerShell cmdlets in Powershell, but the Command shell can only run Windows Commands and not PowerShell cmdlets.
For the most robust, up-to-date Windows automation, we recommend using PowerShell instead of Windows Commands or Windows Script Host for Windows automation.
You can also download and install PowerShell Core, the open source version of PowerShell.
Incorrectly editing the registry may severely damage your system. Before making the following changes to the registry, you should back up any valued data on the computer.
To enable or disable file and directory name completion in the Command shell on a computer or user logon session, run regedit.exe and set the following reg_DWOrd value:
To set the reg_DWOrd value, use the hexadecimal value of a control character for a particular function (for example, 0 9 is Tab and 0 08 is Backspace). User-specified settings take precedence over computer settings, and command-line options take precedence over registry settings.
Command-line reference A-Z
To find information about a specific command, in the following A-Z menu, click the letter that the command starts with, and then click the command name.