Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for chkcon2.bat

(view source code of chkcon2.bat as plain text)

  1. @ECHO OFF
  2. ECHO Checking connection, please wait...
  3. PING 194.109.6.66 | FIND "Reply from " > NUL
  4. IF NOT ERRORLEVEL 1 ECHO You have an active connection to the internet
  5. IF     ERRORLEVEL 1 ECHO You have NO active connection to the internet
  6.  

page last uploaded: 2016-12-15, 11:20