Tools

Posted by support | General | Monday 26 January 2009 8:57 am

To ping more than one IP address and log the results:

:: multiIP.bat
@echo off

for /f “tokens=*” %%I in (IPlist) do call :pinger %%I
goto :eof

:pinger

echo %TIME% >> pingLOG
ping %1 >> pingLOG
:: DONE

This file multiIP.bat calls another file (IPlist).

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.