http://www.nickles.de/c/a3/538009121.htm
Code:
ping /n 1 192.168.10.1 > nul
if errorlevel 1 goto nichtda1
echo "Router ist online!"
goto end1
:nichtda1
echo "Router ist NICHT online!"
:end1
damit funktioniert es, warum obiges nicht (immer) geht, weiß ich aber nicht