This hopefully should be easy, but it's been years since I've scripted anything . WHat I am tryign to do - prompt users for an IP address, then pass that IP address to a simple executable.
The syntax at the cli is flash.exe -s <IPADDRESS>
Dim objshell, strSwitchIP
strSwitchIP = InputBox ("Entrer IP Address")
Set objshell = Wscript.CreateObject ("Wscript.Shell")
objshell.run("""c:\flash.exe"" -s strSwitchIP"""
Set objshell = Nothing
Am I on the right track? I assume the issue is syntax with the quotes? Or is this not really possible?