Script to find what day of the week number is currently.
FOR /F "skip=1" %%A IN ('WMIC Path Win32_LocalTime Get DayOfWeek' ) DO (
set DOW=%%A
goto Break
)
: Break
echo %DOW%
Script to find what day of the week number is currently.
FOR /F "skip=1" %%A IN ('WMIC Path Win32_LocalTime Get DayOfWeek' ) DO (
set DOW=%%A
goto Break
)
: Break
echo %DOW%