My code is pretty much self explanatory :
@echo off set /a n=0 :doitagain set /a n+=1 echo Pinging : 10.0.0.%n% ping 10.0.0.%n% if %n% lss 255 goto doitagain pause >nul
but it always pinging 10.0.0.1 so I guess tiny tweak needed here...
Aucun commentaire:
Enregistrer un commentaire