level 1
sealeagle17
楼主
求教, 对一个IP进行连续ping操作,把其中不通的部分带日期时间写入TXT,这个BAT该怎么写?
:top
echo %date%;%time%>>d:\ping213.txt
ping -n 1 -l 1024 182.148.53.213 | findstr "TTL" >> d:\ping213.txt
ping -n 2 127.1 >nul
goto top
我以前用这个,但是要人工筛选其中哪些不通实在太费时间了
求大神指点
2019年11月01日 01点11分
1
:top
echo %date%;%time%>>d:\ping213.txt
ping -n 1 -l 1024 182.148.53.213 | findstr "TTL" >> d:\ping213.txt
ping -n 2 127.1 >nul
goto top
我以前用这个,但是要人工筛选其中哪些不通实在太费时间了
求大神指点