1 2 3 4 5 |
@echo off for /f "tokens=1,2* delims=:" %%i in (' ipconfig ^| find "IP" ') do set dirip=%%j set dirip=%dirip:~1% echo %dirip% pause |
1 2 3 4 5 |
@echo off for /f "tokens=1,2* delims=:" %%i in (' ipconfig ^| find "IP" ') do set dirip=%%j set dirip=%dirip:~1% echo %dirip% pause |