系統已開機時間

@ECHO OFF
FOR /F "delims=" %%a IN ('SYSTEMINFO ^| FIND "系統存留時間"') DO ECHO %%a
PING -n 3 127.0.0.1 > NUL