how to display an ip in a batch file code example Example: how to display an ip in a batch file ipconfig | find /i "IPv4"