IT Community Malaysia

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Better Easy IP Check


Smasher Hax

Status: Offline
Posts: 267
Date:
Better Easy IP Check
Permalink  
 


Better Easy IP Check.

This tweak was based on the Easy IP Check tweak posted by Hugo Tremblay.
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 . . .
---------------------------

(information about the code: @echo. produces a blank line, @ipconfig |
find "IP Address" causes the output of ipconfig to be piped to the find command,
which looks for the line containing "IP Address", find then outputs your IP address,
@pause causes the terminal to wait for user input before continuing.
The @ before each command tells the terminal not to echo the command being typed.)



__________________

I am Sharper

ITC - Internet Moderators

Mods Name: KA

Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard