NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Call executable to run a ping command?

Solved!
Go to solution

Hello,

i am using TestStand 2014 and want to use the Call Executable to open cmd.exe and run ping 127.0.0.1

For this i currently inserted C:\Windows\system32\cmd.exe at File Pathname and "ping 127.0.0.1" at Argument Expression.

But this only opens the command-window when executing the step.

How do i do it correct?

 

Thanks

 

Edit.

Solved: Only the parameter /r was missing in Argument Expression before the Ping command.

 

0 Kudos
Message 1 of 2
(4,952 Views)
Solution
Accepted by topic author OnlyOne

Hi

 

         Ping is an independent executable tool. Its not an argument. The executable is under "C:\Windows\system32\PING.exe". Configure the step to call Ping.exe and give the arguments as "127.0.0.1".

 

You can use the sequence attached.

 

Thanks

Sathish S

0 Kudos
Message 2 of 2
(4,867 Views)