Windows Script Host
Windows
Script Host (WSH) is a Windows administration tool. WSH
creates an environment for hosting scripts. That is, when
a script arrives at your computer, WSH plays the part of
the host — it makes objects and services available for the
script and provides a set of guidelines within which the
script is executed. Among other things, Windows Script Host
manages security and invokes the appropriate script engine.
WSH is language-independent for WSH-compliant scripting
engines. It brings simple, powerful, and flexible scripting
to the Windows platform, allowing you to run scripts from
both the Windows desktop and the command prompt.Windows
Script Host is ideal for non-interactive scripting needs,
such as logon scripting, administrative scripting, and machine
automation. Windows Script Host provides several objects
for direct manipulation of script execution, as well as
helper functions for other actions. Using these objects
and services, you can accomplish tasks such as the following:
Print messages to the screen, Run basic functions such as
CreateObject and GetObject, Map network drives, Connect
to printers, Retrieve and modify environment variables &
Modify registry keys.
Visual Basic Script
Visual Basic Scripting Edition brings active scripting to
a wide variety of environments, including Web client scripting
in Microsoft Internet Explorer and Web server scripting
in Microsoft Internet Information Service. It can also be
developed in conjunction with Windows Script Host to provide
task automation within the Windows Shell.
Javascript
JScript
is an interpreted, object-based scripting language. Although
it has fewer capabilities than full-fledged object-oriented
languages like C++, JScript is more than sufficiently powerful
for its intended purposes. JScript is not a cut-down version
of another language (it is only distantly and indirectly
related to Java, for example), nor is it a simplification
of anything. It is, however, limited. You cannot write stand-alone
applications in it, for example, and it has no built-in
support for reading or writing files. Moreover, JScript
scripts can run only in the presence of an interpreter or
"host", such as Active Server Pages (ASP), Internet
Explorer, or Windows Script Host.