Created
July 4, 2014 11:06
-
-
Save stuntguy3000/ec0615b9931182dc5d9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set line================================================================================ | |
set text= Internal IP Resolver - by stuntguy3000 | |
echo %line% | |
echo %text% | |
echo %line% | |
rem Let the magic begin! | |
for /f "delims=[] tokens=2" %%a in ('ping %computername% -n 1 -4 ^| findstr "["') do (set thisip=%%a) | |
echo Your Internal IP is: %thisip% | |
echo. | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment