WshArguments Object

This object is not exposed directly; access it using the Wscript.Arguments property

ProgID N/A
File name Wscript.Exe or Cscript.Exe
CLSID 60254CA4-953b-11CF-8C96-00AA00B8708C
IID 60254CA3-953b-11CF-8C96-00AA00B8708C

The following table describes the properties associated with the WshArguments object.

Property Description
Item The nth command-line parameter (the default property).
Count The number of command-line parameters.
length The number of command-line parameters (JScript).