%InetCheck%    Show Routine Code    Author: Siegfried


Version: 1  -  Date: 2007-02-15

 

Example call:
%InetCheck%

Remarks:
Checks if an internet connection exists and prompts the user to go online if required.

Returns %result% "yes" or "no"
Use InetCheck together with %AbortConfig%:
%InetCheck%
if "%result%" == "no" %AbortConfig% "No internet connection."
Or e.g.:
if "%result%" == "no" goto Copy_Local_Files