Link to home
Start Free TrialLog in
Avatar of mfuerlinger
mfuerlinger

asked on

How to check Internet connection in a batch routine ?

Is there a way to check my ISP connection in a batch routine ?
e.g. an environment Variable ?
Further down in my batch script, I want to check the connection with an IF statement because I want the script to behave in different ways if I'm online or not.
If I could write the result of rasdial to a variable it would be great.
(rasdial without any parameters gives the following result: no connections (if you are not connected) and connected to "DialUpEntry" (if you are connected))
Looking forward for Any Help, Hints, batch lines.
Thanks in advance
mfuerlinger
ASKER CERTIFIED SOLUTION
Avatar of j2
j2
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mfuerlinger
mfuerlinger

ASKER

Thanks

Easy points....=> X-mas present

Merry X-mas, Happy New Century, Greetings from Stuttgart, Europe
Gothenburg, Sweden "God jul" :)