CODE: [Copy to clipboard]@echo off for /f "tokens=16 delims=." %%i in ('ipconfig ^| find /i "ip address"') do echo %%i pause