Hi
I have made a Telnet vbs script that I want to be executed in TestStand.
For that purpose I use the Call_Executeable function.
But when I am running the vbs in TestStand I am getting this error: Telnet is not recognized as an internal or external command.
But when I am running the vbs from a normal CMD or Win7 it´s executing without any problem.
I am using Win7 and I have enabled the Telnet.
My script looks like this:
Set cloner = CreateObject("WScript.Shell")
cloner.run"cmd"
WScript.Sleep 500
cloner.SendKeys"telnet 192.168.103.10"
cloner.SendKeys("{Enter}")
WScript.Sleep 500
cloner.SendKeys"quit"
cloner.SendKeys("{Enter}")
WScript.Sleep 2000
cloner.SendKeys"exit"
cloner.SendKeys("{Enter}")
I can´t seem to see what the difference is between running the file from TestStand which starts the CMD and then executing vbs script or executing the vbs script in a CMD that I have manually opened?
Kind regards Jacob