Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Count ====== Property of [[:scripting:api:wsh-arguments:start|IWshArguments]] ===== Description ===== Returns the number of command-line parameters belonging to a script (the number of items in an argument's collection ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:long|long]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var nVal = WshArguments.Count; </code>==== Visual Basic Script ==== <code vb> nVal = WshArguments.Count </code>==== C++ ==== <code cpp> long nVal; HRESULT hr = WshArguments.get_Count(&nVal); </code>===== See Also ===== [[:scripting:api:wsh-arguments:start|IWshArguments]] ~~NOTOC~~