Partilhar via


Windows Script Host object model

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Windows Script Host object model

The Windows Script Host (WSH) environment includes a built-in library, WScript, and four COM (Component Object Model)-based libraries: WshShell, WshNetwork, WshController and the Scripting Runtime Library. Together, WScript, WshShell, WshNetwork and WshController are referred to as the WSH Objects. Your scripts access the functionality of these libraries through the WSH Object Model.

Scripts use object models to access features of COM-based libraries. In COM-based libraries an object model documents the features of the library. Scripts call an object's methods and manipulate an object's properties to utilize the features required to accomplish a task.

For more information about the Windows Script Host object model, see the Windows Script Host Object Model page at the Microsoft Web site.

For general information about Windows scripting, see the Windows Script Technologies Web site at the Microsoft Web site, and Microsoft Windows Resource Kits Web site.