scripting:api:wscript:std-in

StdIn

Property of IWScript

Exposes the read-only input stream for the current script

Read-Only Property of type IWshTextStream

var ppts = WScript.StdIn;
ppts = WScript.StdIn
CComPtr<IWshTextStream> ppts;
HRESULT hr = WScript.get_StdIn(&ppts);