77七 当前离线
少校
@echo off for /f "tokens=1* delims=: " %%a in ('powershell -c "(get-date) - (gcim Win32_OperatingSystem).LastBootUpTime" ^|findstr /b "Days"') do ( echo %%b if %%b geq 2 ( echo 大于等于2天 ) else ( echo 小于2天 ) ) pause复制代码
TOP