Take Command / TCC Help v. 13.03
@PINGNot in LE
Hide Navigation Pane
@PINGNot in LE
Previous topic Next topic No directory for this topic No expanding text in this topic  
@PINGNot in LE
Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@PING[host[,timeout[,packetsize]]] : Returns the response time in milliseconds for the specified host. Host is the IP address or name, timeout is the maximum number of seconds to wait, and packetsize is the size of the data packet sent to the host in the ping request. The timeout defaults to 60 seconds, and packetsize defaults to 64 bytes. The minimum packet size is 12 bytes, and the maximum is 65520 bytes.

 

A negative value indicates an error. If the request times out, @PING returns -1. An unreachable host returns -2. An invalid address returns -3.

 

Examples:

 

echo %@ping[microsoft.com]

echo %@ping[microsoft.com,10]

echo %@ping[microsoft.com,,16]

echo %@ping[192.168.1.100,2,512]

 

 

 

Comments (...)