Windows Script description

Source: Internet
Author: User
Windows Script Architecture

• Generally. js and. vbs
And other files


Executed by the corresponding Script Host/Engine


Generally, it is object-based. It calls a large number of script engines and functions in the script object model.

 

Windows Script Host


IIS: Web server script: inetinfo.exe


IE: Web client script: iexplore.exe


Wsh script (Windows Script Host): wscript.exe/cscript.exe

Windows Script Engine


Windows built-in Script Engine: JScript VBScript

• Third-Party Script Engine: perlscript Python

Windows Script Object Model


A set of objects that implement related functions


Wsh, WMI, ADSI, ADO, CDO
And so on.

What is the Windows Scripting host?

The Windows Scripting host is a language independent environment that exists on Windows based machines. It gives us the ability to write administrative scripts in varous scripting versions. By default, Windows ships with
Development environment for both VBScript and JScript, but you can install other runtime engines if you wish.

Once a runtime engine is installed, the Windows Scripting host will choose the appropriate engine for the script that is attempted to run. For VBScript, there are two script hosts: cscript.exe and wscript.exe. cscript.exe provides
Command line switches that enable you to supply arguments to modify the way your script runs. wscript.exe is the default Scripting Host and provides Windows based dialog boxes.

Write a script file by yourself, for example, Suffix:. vbs
Or. js files, and then in Windows
Lower

Double-click and execute it. Then, the system automatically calls an appropriate program to explain and execute it. The program is Windows Scripting host, and the program execution file name is wscript.exe.
(Cscript.exe if it is in the command line)

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.