`

win7批量检测网络地址bat

阅读更多

Windows下批量检测网络地址bat

 

::create by huangdengji 2016-04-17
::mail huangdengji@126.com
::V1.0
::pings.bat file log
 
@echo "ping file %1" %date% %time% >> %2


@echo off
for /F %%a in (%1) do ping %%a>>%2
pause

 demo.txt

 

 

192.168.1.209
192.168.1.210
192.168.1.228
192.168.1.82

 执行命令

 

pings.bat demo.txt log.txt

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics