New
#1
How to output day of week to variable in batch
Hi all,
I am trying to write a batch file in Windows 10 to output day of week (Monday, Tuesday etc) to variable do that I can do certain procedures on differnt days o the week and am having major problems.
If I type DATE /T at command prompt I get 15/01/16 and no day of week.
I have change regional setting so that long date is in correct format but still if I type DATE /T at command prompt I get 15/01/16 and no day of week.
All help appreciated.
Thank you.