route-ping.bat 287 B

1234567
  1. ::获取系统时间;
  2. @set datetime=%date:~0,4% %date:~5,2% %date:~8,2%-%time:~0,2% %time:~3,2% %time:~6,2%
  3. ::去除所有空格;
  4. @set datetime=%datetime: =%
  5. set logpath=.\log\ping
  6. if not exist %logpath% (@md .\log\ping)
  7. ping huizhou.idmanage.qhmoka.com -n 60 > .\log\ping\%datetime%.log