scripting:api:wscript:std-out

StdOut

Property of IWScript

Exposes the write-only output stream for the current script

Read-Only Property of type IWshTextStream

var ppts = WScript.StdOut;
ppts = WScript.StdOut
CComPtr<IWshTextStream> ppts;
HRESULT hr = WScript.get_StdOut(&ppts);