Talk:Windows Script Host

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing / Software (Rated Start-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software.
 
WikiProject Microsoft Windows / Computing  (Rated Start-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Microsoft Windows, a collaborative effort to improve the coverage of Microsoft Windows on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Computing.
 

The different parts[edit]

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)

Client Side VBScript[edit]

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)

These are two quite different topics, in my opinion. DonToto (talk) 03:10, 30 June 2010 (UTC)

Add an example[edit]

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)

This has been done in a previous edit. DonToto (talk) 03:10, 30 June 2010 (UTC)

WSH not introduced[edit]

The abbreviation WSH is not introduced before its first use. Shouldn't it?

--Mortense (talk) 13:34, 25 January 2010 (UTC)

Agreed. This has now been done.DonToto (talk) 03:10, 30 June 2010 (UTC)

Available scripting engines[edit]

Could someone please explain what is the intention of the first two columns, Name, and Language. It doesn't seem to make sense, e.g. Perl is not PerlScript, etc. But perhaps I am missing something? DonToto (talk) 03:10, 30 June 2010 (UTC)

ECMAScript Version[edit]

Which versions of ECMAScript do the different versions of JScript implement? --80.167.190.83 (talk) 08:39, 15 August 2012 (UTC)


Windows Based Script Host[edit]

Looks like the current name is "Windows Based Script Host" or "Windows-based Script Host" [1], not sure as of when. JeepdaySock (AKA, Jeepday) 13:45, 20 November 2012 (UTC)