@::qvivid is here
:beginning
echo off >IP_list.txt
set /a count=1
:loop
echo %count%
if %count% GTR 254 goto out
call :pin 192.168.1.%count%
:endcall
set /a count+=1
goto loop
goto eof
:pin
ping -n 1 -l 16 -w 20 %1 | find "Reply" >>IP_list.txt
goto endcall
:out
echo.
echo.
echo Welcome! You are Out!
@pause
goto eof
:err
echo.
echo Something Wrong
@pause
:eof
exit
@::qvivid is here
评论