daily pastebin goal
79%
SHARE
TWEET

Muestra la IP local

jmgonzalezpoyo Nov 7th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. rem Archivo: IP-Local.bat
  3. rem Autor: jmgonzalezpoyo
  4. rem Fecha: 07-11-2017
  5. rem Descripcion: Muestra la IP local
  6.  
  7. for /f "tokens=1-2 delims=:" %%a in ('ipconfig^|find "IPv4"') do set ip=%%b
  8. set ip=%ip:~1%
  9. echo %ip%
  10. pause
  11. exit
RAW Paste Data
Top