Advertisement
Guest User

WebsitePinger.bat

a guest
Aug 2nd, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :A
  2. @echo off
  3. Title Website Pinger
  4. color 0e
  5. echo Enter the website you would like to ping
  6. set input=
  7. set /p input= Enter your Website here:
  8. if %input%==goto A if NOT B
  9. echo Processing Your request
  10. ping localhost>nul
  11. echo -------------------------------------------------------------------------------------
  12. echo If you do not close this in 45 seconds you will go to **ENTER WEBSITE HERE**
  13. echo -------------------------------------------------------------------------------------
  14. ping localhost>nul
  15. echo This is the IP=
  16. ping %input%
  17. set input=
  18. set /p input= If you want to open this adress please enter the IP here:
  19. start iexplore.exe %input%
  20. set input2=
  21. set /p input2=
  22. if %input% exit goto exit
  23. ping localhost -n 45 >nul
  24. start iexplore.exe %input%
  25. exit
  26. :exit
  27. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement