_IP returns the IP address of the local computer. If the computer has more than one NIC, _IP returns a space-delimited list of all IP addresses.

 

Example:

 

echo %_ip

172.28.96.1 192.168.0.13