ping ip並記錄log

set todate=%date:~5,2%%date:~8,2% set pre=pingbase set "filename=%pre%%todate%.txt" @echo off :s echo %date% >> %filename% echo %time% >> %filename% ping -n 2 192.168.1.4  >> %filename% TIMEOUT /T 2 g
相關文章
相關標籤/搜索