Batch Files - Using ping to test network connectivity?

You can use following snippet: @echo off Ping google.de -n 1 -w 1000 if errorlevel 1 echo Not connected.

It will not work if your system is not in English – Chumillas Jun 15 '11 at 12:25 Remove the find and it will work. – CSchulz Jun 15 '11 at 12:27.

Here is a script to help you start with it: techimo.com/forum/networking-internet/73... NOTE: If your system is not in English, you will have to modify the lines in the script where find command is being used to filter Reply from from the ping's output to the corresponding string in the system's language.

1 It will not work if your system is not in English – Chumillas Jun 15 '11 at 12:21 1 Never thought about that. But, I don't see why it won't? – Ozair Kafray Jun 15 '11 at 12:24 Because the find function, at least read the code :) – Chumillas Jun 15 '11 at 12:25 2 But the code shows the idea how you could solve it – jeb Jun 15 '11 at 13:31 1 @jeb: Thanks, and that was the purpose of putting it here.

I was thought of writing "Google is our friend" in my answer too. – Ozair Kafray Jun 15 '11 at 13:35.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions