Talk:Windows Script Host

From Wikipedia, the free encyclopedia

This article is within the scope of Computing WikiProject, an attempt to build a comprehensive and detailed guide to computers and computing. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
Start This article has been rated as Start-Class on the quality scale
??? This article has not yet received an rating on the importance scale.
This article is part of WikiProject Microsoft Windows, a WikiProject devoted to maintaining and improving the informative value and quality of Wikipedia's many Microsoft Windows articles.
Start This article has been rated as Start-Class on the assessment scale.
Mid This article has been rated as Mid-importance on WikiProject Microsoft Windows's importance scale.

WSH is made of 3 distinct parts:

  • WScript.* Automation classes (WScript.Shell and WScript.Network), available to all automation hosts, but adding much needed features to WSH.
  • WScript.exe, the GUI WSH host.
  • CScript.exe, the console WSH host.

Both WScript.exe and CScript.exe includes a "WScript" object (aka "WSH", both names reference the same live objects) available to any script engine loaded in WSH and providing basic functions like text output and arguments parsing.

Note the WScript objects exposed by WScript and CScript, altough they implement the same interface, are not the same objects, WScript in WScript.exe is designed for GUI operations, and its .Echo method generates a dialog, while WScript in CScript.exe is designed for console operations, and its .Echo method generates stdout text in the console window. Another notable difference is that the .StdIn, .StdOut and .StdErr properties of the WScript object are only available in the CScript.exe version.

PhMajerus 17:16, 13 April 2007 (UTC)

[edit] Client Side VBScript

There is a proposal to merge the Wikipedia entry for VBScript with Windows Script Host. Please note that VBScript can also run as client script. —Preceding unsigned comment added by 124.191.124.102 (talk) 22:54, 8 March 2008 (UTC)

[edit] Add an example

I think for a programming language that is highly important —Preceding unsigned comment added by 81.184.58.60 (talk) 11:47, 26 April 2008 (UTC)