Use this if you just want to display your IP address and not the extra information (default gateway / subnet mask)
Simply copy and paste the following into notepad
@echo.
@ipconfig | find "IP Address"
@echo.
@pause
And save as IP.BAT (save to your windows dir if you want to be able to access it anywhere)
Now when you type IP you will see:
---------------------------
IP Address. . . . . . . . . . . . : x.x.x.x
Press any key to continue . . .
---------------------------
Simply copy and paste the following into notepad
@echo.
@ipconfig | find "IP Address"
@echo.
@pause
And save as IP.BAT (save to your windows dir if you want to be able to access it anywhere)
Now when you type IP you will see:
---------------------------
IP Address. . . . . . . . . . . . : x.x.x.x
Press any key to continue . . .
---------------------------
No comments:
Post a Comment