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.ComputingWikipedia:WikiProject ComputingTemplate:WikiProject ComputingComputing
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.Microsoft WindowsWikipedia:WikiProject Microsoft WindowsTemplate:WikiProject Microsoft WindowsMicrosoft Windows
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.