Copy this code into notepad and save it in the windows directory folder as ip.bat.
@echo.
@echo IP INFORMATION
@echo By: WindowsXPAtoZ.com
@ipconfig/all | find "IP Address"
@ipconfig/all | find "Subnet Mask"
@ipconfig/all | find "Default Gateway"
@ipconfig/all | find "Host Name"
@ipconfig/all | find "DNS Suffix Search List"
@ipconfig/all | find "Physical Address"
@ipconfig/all | find "DHCP Enabled"
@ipconfig/all | find "DHCP Server"
@ping 127.0.0.1
@echo.
@pause
To run Goto Start>Run and type ip