SHARE
TWEET

Zestifey IP Pinger V2

Zestifey Oct 21st, 2019 109 in 335 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3.                                            @echo off
  4. title ~Zestifey IP Pinger~~Enter That SKID'S IP~~By:Zestifey~
  5. echo off & cls
  6. color 1
  7. cls
  8. set /P IP=Skids IP :
  9. for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do (set "DEL=%%a")
  10. :top
  11. PING -n 1 %IP% | FIND "TTL=" >nul
  12. title ~Zestifey~~~Pinging:%IP%~~~By:Zestifey~
  13. IF ERRORLEVEL 1 (
  14. SET OUT=C
  15. title ~Zestifey~~I run every skid~~By:Zestifey~
  16. <nul set /p="("
  17. call :Zestifey C0 "Pinging" && <nul set /p="):("
  18. call :Zestifey C0 "%IP%"  && <nul set /p=")~("
  19. call :Zestifey C0 "SKID IS OFFLINE"  && <nul set /p=")"
  20. echo.
  21. ) ELSE (
  22. SET OUT=A
  23. title ~Zestifey~~I run every skid~Pinging:%IP%~~By:Klastrafey~
  24. <nul set /p="("
  25. call :Zestifey 0D "Pinging" && <nul set /p="):("
  26. call :Zestifey 0A "%IP%"  && <nul set /p=")~("
  27. call :Zestifey AC "ONLINE"  && <nul set /p=")"
  28. echo. )
  29. goto :end
  30. :Zestifey
  31. <nul set /p "=%DEL%" > "%~2"
  32. findstr /v /a:%1 /R "+" "%~2" nul
  33. del "%~2" > nul
  34. goto :eof
  35. :end
  36. ping -t 1 -l 10 127.0.0.1 >nul
  37. GoTo top
  38. echo.
  39. pause
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top