What is a detailed explanation of the WSH (script Host) _vbs

Source: Internet
Author: User

Windows Script Host (WSH) is a Windows management tool.

WSH creates an environment for the host script. That is, when the script arrives on your computer, WSH acts as part of the host, making the objects and services available to the script and providing a series of script execution guides. In addition, the Windows script Host also manages security and invokes the appropriate scripting engine.

For a WSH-compliant scripting engine, WSH is language-independent. It provides a simple, powerful, and flexible scripting feature for Windows platforms, allowing you to run scripts from the Windows desktop and from the command prompt.

Windows script hosts are ideal for non-interactive scripting needs, such as scripting logins, scripting management, and computer automation.

WSH Objects and services

The Windows script Host provides several objects for direct manipulation of script execution and provides helper functions for other operations. With these objects and services, you can accomplish the following tasks:

  • Print messages to the screen
  • Run basic functions, such as CreateObject and GetObject
  • Mapping network drives
  • Connect to the printer
  • Retrieving and modifying environment variables
  • Modify registry Keys

Where is WSH?

Windows Script hosts are embedded in Microsoft Windows 98, 2000, and Millennium Edition. If you are running Windows 95, you can download Windows Script Host 5.6 from the Microsoft Windows Scripting Technology Web site (HTTP://www.microsoft.com/china/scripting).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.