I just tried to use the pipe object. I wanted to do a ping command and be able to check the results.

The pipe object asks the user to pick the command. You are able to enter an expression or pick a exe file. So I selected PING.exe from the system32 directory.

Next it asks for the command line parameters. So I entered
"192.168.0.1" (wih no space in front) to ping my router as a test.

(So I assumed the control would send "PING 192.168.0.1" but it
appears to have sent "PING192.168.0.1")

Next I added a RTF Object and said to set the text of the RTF object to the output of the pipe object.

I got an error message:
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]

[-r count] [-s count] [[-j host-list] | [-k host-list]]

[-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name



Options:

-t Ping the specified host until stopped.

To see statistics and continue - type Control-Break;

To stop - type Control-C.

-a Resolve addresses to hostnames.

-n count Number of echo requests to send.

-l size Send buffer size.

-f Set Don't Fragment flag in packet (IPv4-only).

-i TTL Time To Live.

-v TOS Type Of Service (IPv4-only).

-r count Record route for count hops (IPv4-only).

-s count Timestamp for count hops (IPv4-only).

-j host-list Loose source route along host-list (IPv4-only).

-k host-list Strict source route along host-list (IPv4-only).

-w timeout Timeout in milliseconds to wait for each reply.

-R Use routing header to test reverse route also (IPv6-only).

-S srcaddr Source address to use (IPv6-only).

-4 Force using IPv4.

-6 Force using IPv6.



So I added a space in front of the parameter

" 192.168.0.1" then it worked.

I got this result which is correct:

Pinging 192.168.0.1 with 32 bytes of data:



Reply from 192.168.0.1: bytes=32 time=1ms TTL=127

Reply from 192.168.0.1: bytes=32 time<1ms TTL=127

Reply from 192.168.0.1: bytes=32 time<1ms TTL=127

Reply from 192.168.0.1: bytes=32 time<1ms TTL=127



Ping statistics for 192.168.0.1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 1ms, Average = 0ms

Lesson: Be sure the add the space as part of the parameter or this will not work.