@IPNAME[numeric_IP] : Returns the host name for the specified numeric_IP address. An IP address 0 returns the name of the current local host (usually the computer name). The IP address can be expressed in the common format nnn.nnn.nnn.nnn  or as a packed decimal. An invalid or unknown IP address returns an error (see @ERRTEXT to decipher the error number if necessary).


See also: @IPADDRESS.




echo %@ipname[]



echo %@ipname[0]