Daily Archives: March 1, 2019

Windows bat script to get day of the week

rem Script to get the day of the week in windows command line rem ie Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday @echo off SETLOCAL SET /a count=0 FOR /F “skip=1” %%D IN (‘wmic path win32_localtime get dayofweek’) DO ( … Continue reading

Posted in Batch script, Windows | Leave a comment