--------------------------

@echo off
for /f "tokens=*" %%A in ('ping %1 -n 1') do (echo %%A && GOTO Ping)
:Ping
for /f "tokens=* skip=2" %%A in ('ping %1 -n 1') do (echo %date:週=% %time% %%A && GOTO Ping)

文章標籤

petspring 發表在 痞客邦 留言(0) 人氣()