Why does this work? It correctly returns the IP address with dots, but the dot is a delimiter and therefore should be 3 items, no?
for /f “tokens=1,2* delims=.: ” %x in (‘ipconfig’) do if “%x %y”==”IPv4 Address” echo %z
cheers, Paul
Why does this work? It correctly returns the IP address with dots, but the dot is a delimiter and therefore should be 3 items, no?
for /f “tokens=1,2* delims=.: ” %x in (‘ipconfig’) do if “%x %y”==”IPv4 Address” echo %z
cheers, Paul
Notifications