Parse For /F
Posted: 20 Nov 2009 12:23
Please help.
I have a statement as :
for /f "tokens=3,* delims=:. " %%a in ('"ipconfig|find "IP Address""') do set ip=%%b
This will gives me all the IP Address of the system. I would like to eliminate ONLY the first local Active IPAddress, and ignore the rest. Appreciated any help.
I have a statement as :
for /f "tokens=3,* delims=:. " %%a in ('"ipconfig|find "IP Address""') do set ip=%%b
This will gives me all the IP Address of the system. I would like to eliminate ONLY the first local Active IPAddress, and ignore the rest. Appreciated any help.