Command-line with Web Services and Arguments

I added the small feature of being able to pass an argument to the Stock.vbs file so you can pass it any stock quote.

My Stock.vbs file is:

set SOAPClient = createobject("MSSOAP.SOAPClient")
SOAPClient.mssoapinit "https://www.webservicex.net/stockquote.asmx?WSDL"
WScript.Echo wscript.arguments(0) & " = " & SOAPClient.GetQuote(wscript.arguments(0) )

The part in bold is the change from a previous post that allows the argument. To run it, from a command line, run:

C:\>Stocks.vbs MSFT