What is wsh (Script Host)

Source: Internet
Author: User

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

Wsh creates an environment for the host script. That is to say, when a script arrives on your computer, wsh acts as part of the host so that objects and services can be used for scripts and provide a series of script execution instructions. In addition, the Windows Script Host also manages security and calls the corresponding script engine.

For wsh-compatible script engines, wsh is language-independent. It provides a simple, powerful, and flexible script writing function for the Windows platform, allowing you to run scripts from the Windows desktop and command prompt.

The Windows Script Host is suitable for non-interactive scripting, such as script logon, script management, and computer automation.

Wsh objects and services

The Windows Script Host provides several objects for directly manipulating script execution, and provides the Helper function for other operations. With these objects and services, you can complete the following tasks:

  • Print messages to the screen
  • Run basic functions, such as Createobject and GetObject.
  • MAP network drive
  • Connect to the printer
  • Retrieve and modify Environment Variables
  • Modify registry key
Where is wsh located?

The Windows Script Host is embedded in Microsoft Windows 98, 2000, and Millennium Edition. If Windows 95 is running, you can download Windows Script Host 5.6 from the Microsoft Windows Script 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.