Windows Scripting Host Object Reference

Objects provided by Wscript.exe

Wscript Exposed to scripting engine as "Wscript"
WshArguments Not exposed; accessed through the Wscript.Arguments property.

Objects provided by WSHom.Ocx

WshShell Automation object,
ProgID "Wscript.WshShell".
WshNetwork Automation object, ProgID "Wscript.WshNetwork".
WshShortcut Not exposed; accessed through WshShell.CreateShortcut method.
WshUrlShortcut Not exposed; accessed through WshShell.CreateShortcut method.
WshCollection Not exposed; accessed through WshNetwork.EnumNetworkDrives or WshNetwork.EnumPrinterConnection.
WshEnvironment Not exposed; accessed through WshShell.Environment property.
WshSpecialFolders Not exposed; accessed through
WshShell.Folder property.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.