Randy wrote:

> With the right capabilities (I think you need SM capabilities) you can run
> PING.NET.SYS and it will prompt you for the IP address, packet size and
> number of packets you wish to send, or you can simply PING.NET.SYS
> nnnn.nnnn.nnnn.nnnn (<-- the IP address) and it will continually ping
until
> you hit Ctrl-y.

Using the following command file you can ping directly from the CI prompt
without needing to CTRL-Y or BREAK.

parm IPAddress,NumPackets=5,SizePackets=64
ping.net.sys "!IPAddress,!Numpackets,!SizePackets" ,1

:ping 127.0.0.1

-------- PING/XL (ICMP Echo Requestor) : Version B0509000 --------

PARAMETERS INPUT:
----------------
Remote IP address in hex : $7F000001
Number of packets        : 5
Number of data bytes     : 64

---- PING $7F000001 : 64 byte packet(s), 5 packet(s) ----

64 byte(s) from $7F000001 : icmp_seq =     1, time =    54 ms
64 byte(s) from $7F000001 : icmp_seq =     2, time =     1 ms
64 byte(s) from $7F000001 : icmp_seq =     3, time =     1 ms
64 byte(s) from $7F000001 : icmp_seq =     4, time =     1 ms
64 byte(s) from $7F000001 : icmp_seq =     5, time =     1 ms

---- $7F000001 PING Statistics ----

5 packet(s) transmitted, 5 packet(s) received, 0 % packet loss
round trip (ms)  min/avg/max = 1 / 11 / 54
:

Doug.

Doug Werth                             Beechglen Development Inc.
[log in to unmask]                               Cincinnati, Ohio

The opinions expressed do not  necessarily represent the views or
opinions of Beechglen Development. They might but not necessarily.
They represent solely the opinions of the author.