This section describes WSH (Windows Script Host) and its features. WSH is a Windows system administration tool to run VBScript code to common administrative tasks.
WSH (Windows Script Host) is a language-independent scripting host
for Windows Script compatible scripting engines like VBScript engine and JScript engine.
WSH brings simple, powerful, and flexible scripting to the Windows 32-bit 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.
WSH 5.6, installed as part of Windows XP systems, offers the following features:
There are two hosts provided in WSH 5.6: CScript.exe and WScript.exe.
CScript.exe host running scripts with a command window as console
for standard input and output.
WScript.exe host running scripts without any command window.
Standard input and output are not available in this case.
Several runtime objects are provided for administrative tasks
like managing files and folders, mapping network drives, managing environment
variables, and modifying registry keys.
Different types of script files are supported: *.vbs (VBScript file),
*.wsf (Windows Script File).
A .vbs file, or VBScript file, contains only VBScript statements.
A .wsf file, Windows Script File, contains scripting codes in an XML file format.