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")
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: