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