A simple WMI batch script to obtain literal and numeric day of week -
for /F "skip=2 tokens=2-4 delims=," %%A in ('WMIC Path Win32_LocalTime Get DayOfWeek /Format:csv') do set daynumber=%%A
for /F "tokens=%daynumber% delims=," %%B in ("%daysofweek%") do set day=%%B
echo %daynumber% > c:\0 & echo %day% >> c:\0 & start notepad c:\0
A Notepad will open with the day #; next line = Day of the week.