Search

Join this Blog for direct reference of any post into your inbox. To join just click on "Join this Site" under "Follower" then Login with your Email.*** DECLARATION: I Maintain this Blog for Helping Myself While at Work and Welcome any body Needing Help!!!.*** CAUTION: Using any of the script from this Blog may contain at Own Risk. These scripts May or May not have been Tested.***

Wednesday, 23 May 2012

Batch file for Host IPCONFIG Checking

It is very simple but useful batchfile for checking the Host IP configuration as well as internet connection. Sometimes we feel tired of having to type these command. Hopefully this saves some time in long run. Just Copy the below text and put into notepad file and save this file as a extension of .BAT
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
set path=c:\WINDOWS\system32;
ECHO OFF
::CMD will no longer show us what command it’s executing (cleaner)
ECHO As a network admin, I’m getting tired of having to type these commands in! Hopefully, this saves me some time in the long run.
:: Print some text
IPCONFIG /ALL
:: Outputs tons of network information into the command prompt
PAUSE
:: Lets the user read the important network information
PING www.google.com
:: Ping google to figure out if we’ve got internet!
ECHO All done pinging Google.
::Print some text
PAUSE

0 comments:

Post a Comment