打开记事本,在窗口中输入如下的命令:

@Echo off
date /t > IPList.txt
time /t >> IPList.txt
echo =========== >> IPList.txt
For /L %%f in (1,1,100) Do Ping.exe -n 2 192.168.1.%%f   Find
"Request timed out." & echo 192.168.1.%%f Timed Out >>
IPList.txt & echo off
cls
Echo Finished!
@Echo on
Notepad.exe IPList.txt

将此文件存为IPTracker.bat。