Tuesday, September 26, 2006

grab ip address from XP command line

for /f "usebackq tokens=15" %%i in (`ipconfig /all^| findstr /c:"IP Address"`) do @echo %i

No comments: