Results 1 to 4 of 4

Thread: Easy IP Check

  1. #1
    Join Date
    Apr 2008
    Posts
    598

    Easy IP Check

    If you want to check the IP Address of your computer then no need to go to your computer network properties.

    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 in DOS or when you run the IP.BAT file you will see:

    ---------------------------

    IP Address. . . . . . . . . . . . : x.x.x.x

    Press any key to continue . . .
    ---------------------------

  2. #2
    Join Date
    Jan 2009
    Posts
    91

    Re: Easy IP Check

    nice one man! system programmer.

  3. #3
    Join Date
    Jan 2009
    Posts
    3

    Re: Easy IP Check

    Hi,

    This tip is really nice and helps a lot.
    but can you please give me some information about the code used for this.

  4. #4
    Join Date
    Apr 2008
    Posts
    598

    Re: Easy IP Check

    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.)

Similar Threads

  1. Need help with some easy to use FTP Client
    By Aalap in forum Networking & Security
    Replies: 5
    Last Post: 14-06-2011, 05:11 AM
  2. How to fix the MBR with Easy BCD
    By Elieis in forum Operating Systems
    Replies: 5
    Last Post: 28-01-2010, 04:03 AM
  3. Check browser with ASP check
    By FenceeII in forum Software Development
    Replies: 3
    Last Post: 14-01-2009, 02:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,589,391.79196 seconds with 17 queries