Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cls
- ping -n 1 router >nul
- if %errorlevel% == 1 echo Could not reach your router
- if %errorlevel% == 0 echo Successfully reached the router
- ping -n 1 www.bbc.co.uk >nul
- if %errorlevel% == 1 echo Could not reach the BBC
- if %errorlevel% == 0 echo Successfully reached the BBC
- echo.
- pause
- exit
Add Comment
Please, Sign In to add comment