Wacky_rubia

getip

Dec 14th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. @echo off
  2. if "%1" == "/?" echo This program shows your IP & goto :eof
  3. for /f "delims=: tokens=2" %%i in ('ipconfig ^| findstr IPv4') do (
  4. echo%%i
  5. )
Advertisement
Add Comment
Please, Sign In to add comment