@echo off
FOR /F "skip=1 tokens=1 delims= " %%A IN ('wmic OS Get Status') do IF %%A==OK SET WMICSTATUS=1




