批处理,执行修改时间,等5秒后重新改回来 @echo off set nowtime=%date% echo 2015-07-01|date ping 127.255.255.255 -n 1 -w 5000 >nul echo %nowtime%|date exit